guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: zile-on-guile: Fix build.


From: guix-commits
Subject: branch master updated: gnu: zile-on-guile: Fix build.
Date: Thu, 08 Jul 2021 11:13:55 -0400

This is an automated email from the git hooks/post-receive script.

mothacehe pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new beaa5df  gnu: zile-on-guile: Fix build.
beaa5df is described below

commit beaa5dff38db8c31a99d7f4484864b12c838b4e2
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Thu Jul 8 17:12:26 2021 +0200

    gnu: zile-on-guile: Fix build.
    
    This is a follow-up of da40d07066096a3b5a852041ea01fbb32240deda.
    
    * gnu/packages/zile.scm (zile-on-guile)[arguments]: Restore the original
    patch-/bin/sh phase.
---
 gnu/packages/zile.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/zile.scm b/gnu/packages/zile.scm
index bd5b1e8..bb92709 100644
--- a/gnu/packages/zile.scm
+++ b/gnu/packages/zile.scm
@@ -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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]