1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-18 07:05:53 +02:00

gnu: zile-on-guile: Fix build.

This is a follow-up of da40d07066.

* gnu/packages/zile.scm (zile-on-guile)[arguments]: Restore the original
patch-/bin/sh phase.
This commit is contained in:
Mathieu Othacehe
2021-07-08 17:12:26 +02:00
parent 57a747e15a
commit beaa5dff38
+8
View File
@@ -149,6 +149,14 @@ default Emacs configuration, but it carries a much lighter feature set.")
"--gnulib-srcdir=gnulib"
"--skip-git" "--skip-po"
"--verbose")))
(replace 'patch-/bin/sh
(lambda* (#:key inputs #:allow-other-keys)
(let ((bash (assoc-ref inputs "bash")))
;; Refer to the actual shell.
(substitute* '("lib/spawni.c" "src/funcs.c")
(("/bin/sh")
(string-append bash "/bin/sh")))
#t)))
(add-after 'install 'wrap-command
(lambda* (#:key outputs #:allow-other-keys)
;; Add zile.scm to the search path.