aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/m4.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/m4.scm b/gnu/packages/m4.scm
index 9d3dbe41f2..fbc075a2cb 100644
--- a/gnu/packages/m4.scm
+++ b/gnu/packages/m4.scm
@@ -55,8 +55,9 @@
(("4 5 6")
"4 6"))))
(add-after 'unpack 'configure-shell
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((/bin/sh (search-input-file inputs "/bin/sh")))
+ (lambda* (#:key native-inputs inputs #:allow-other-keys)
+ (let ((/bin/sh (search-input-file (or native-inputs inputs)
+ "/bin/sh")))
;; Adjust hard-coded /bin/sh for tests.
(substitute* "lib/config.hin"
(("\"/bin/sh\"")