guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 1d7211e793805679ee90e3c32b856047bc3285e5
Author: Noé Lopez <[email protected]>
AuthorDate: Mon Aug 17 01:53:56 2026 +0200

    gnu: gerbil: Fix build.
    
    The package failed to build after the update to util-linux 2.42.  
Specifically
    its commits bd89462910f32042dbe1882044a5c076638a89b9 and
    6651ae5822610789d9ca620c4e0e65c3bd4e12af where the shell resolution in
    “script” is changed to check the user’s /etc/passwd shell entry before using
    the /bin/sh default.
    
    In the build daemon, this is /noshell.  Therefore the build fails, setting 
the
    SHELL variable lets the “script” command find a suitable shell.
    
    * gnu/packages/scheme.scm (gerbil)[arguments]<#:phases>: New phase.
    
    Change-Id: I6d5430c9384d6f74ec0942d803a2e034aa58a106
    Signed-off-by: Noé Lopez <[email protected]>
---
 gnu/packages/scheme.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index 2d62a536e1..84b6f9aed0 100644
--- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -1256,6 +1256,9 @@ a Common Lisp environment.")
                                      "./src/tutorial/proxy/build.ss"
                                      "./src/tutorial/ensemble/build.ss"
                                      "./src/tutorial/lang/build.ss")))))
+                   (add-before 'build 'set-shell
+                     (lambda _
+                       (setenv "SHELL" "/bin/sh")))
                    (replace 'build
                      (lambda _
                        (setenv "HOME"

Reply via email to