me
/
guix
Archived
1
0
Fork 0

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.
master
Mathieu Othacehe 2021-07-08 17:12:26 +02:00
parent 57a747e15a
commit beaa5dff38
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 8 additions and 0 deletions

View File

@ -149,6 +149,14 @@ default Emacs configuration, but it carries a much lighter feature set.")
"--gnulib-srcdir=gnulib" "--gnulib-srcdir=gnulib"
"--skip-git" "--skip-po" "--skip-git" "--skip-po"
"--verbose"))) "--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 (add-after 'install 'wrap-command
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
;; Add zile.scm to the search path. ;; Add zile.scm to the search path.