guix_mirror_bot pushed a commit to branch core-packages-team
in repository guix.

commit 19d76e1733257032eb85a97454d11cc152c3f6b7
Author: Nicolas Graves <[email protected]>
AuthorDate: Thu Feb 19 19:38:00 2026 +0100

    gnu: ld-wrapper-boot0: Drop input labels.
    
    * gnu/packages/commencement.scm
    (%boot0-bash): New helper procedure.
    (ld-wrapper-boot0)[bash]: Drop input labels.
    
    Change-Id: Ie418696ded10883daeb5115c74610cf4938eb25e
    Signed-off-by: Ludovic Courtès <[email protected]>
---
 gnu/packages/commencement.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 2fc9e39f9fc..6e7dffe336c 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2272,6 +2272,14 @@ exec " gcc-bin "/" program
     ("findutils" ,findutils-boot0)
     ("file" ,file-boot0)))
 
+(define (%boot0-bash)
+  "Return the system-dependent bash package in %BOOT0-INPUTS."
+  (match (%current-system)
+    ((or "i686-linux" "x86_64-linux")
+     bash-mesboot)
+    (_
+     %bootstrap-coreutils&co)))
+
 (define* (boot-triplet #:optional (system (%current-system)))
   ;; Return the triplet used to create the cross toolchain needed in the
   ;; first bootstrapping stage.
@@ -2989,7 +2997,7 @@ memoized as a function of '%current-system'."
                    #:target boot-triplet
                    #:binutils binutils-boot0
                    #:guile %bootstrap-guile
-                   #:bash (car (assoc-ref (%boot0-inputs) "bash"))
+                   #:bash (%boot0-bash)
                    #:guile-for-build %bootstrap-guile))
 
 (define (%boot1-inputs)

Reply via email to