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 @@ (define-public m4 (("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\"")