See
<http://lists.gnu.org/archive/html/guix-devel/2016-09/msg02272.html>.
gnu/packages/make-bootstrap.scm (%static-inputs): Use bash from PATH.
---
gnu/packages/make-bootstrap.scm | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm
index def9c23..180ca72 100644
--- a/gnu/packages/make-bootstrap.scm
+++ b/gnu/packages/make-bootstrap.scm
@@ -186,6 +186,16 @@ for `sh' in $PATH, and without nscd, and with static NSS
modules."
(inputs (if (%current-target-system)
`(("bash" ,%bash-static))
'()))))
+ (tar (package (inherit tar)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (add-before 'build 'set-shell-file-name
+ (lambda _
+ ;; Do not use "/bin/sh" to run programs.
+ (substitute* "src/system.c"
+ (("/bin/sh") "sh")
+ (("execv ") "execvp "))
+ #t)))))))
(finalize (compose static-package
package-with-relocatable-glibc)))
`(,@(map (match-lambda
--
2.9.2