guix_mirror_bot pushed a commit to branch master
in repository guix.
commit e6ceebc84a2820ec11a1452f4d23e34b697666c0
Author: Noé Lopez <[email protected]>
AuthorDate: Mon Aug 17 01:40:44 2026 +0200
gnu: artanis: 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/guile-xyz.scm (artanis)[arguments]<#:phases>: New phase.
Change-Id: I56d74b6cd3c6f1857899b3d64f6e7827c1242004
Signed-off-by: Noé Lopez <[email protected]>
---
gnu/packages/guile-xyz.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 26e4722f80..13ce6057de 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -264,6 +264,9 @@
(("ffi-binding \"libssl3\"")
(string-append
"ffi-binding \"" (assoc-ref inputs "nss")
"/lib/nss/libssl3.so\"")))))
+ (add-before 'build 'set-shell
+ (lambda _
+ (setenv "SHELL" "/bin/sh")))
(add-before 'install 'substitute-root-dir
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))