aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/code.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index 3c6af4f70c..071f1b9e38 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -640,10 +640,9 @@ results and determine build stability.")
(modify-phases %standard-phases
(add-after 'unpack 'fix-/bin/bash-references
(lambda* (#:key inputs #:allow-other-keys)
- (let ((bash (assoc-ref inputs "bash")))
(substitute* (find-files "src" ".*\\.cc?$")
(("/bin/(bash|sh)" shell)
- (string-append (assoc-ref inputs "bash") shell)))))))))
+ (search-input-file inputs shell))))))))
(inputs
(list curl elfutils libelf openssl zlib))
(native-inputs