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

commit 2318ae42d0fd71a7795e2a3eae2640321f427456
Author: Zheng Junjie <[email protected]>
AuthorDate: Sat Sep 19 12:45:10 2026 +0800

    gnu: gcc-base: Fix cross compiling.
    
    * gnu/packages/gcc.scm (gcc-base)[arguments]: Use which to find bash.
---
 gnu/packages/gcc.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index eeaf2cf6e36..3b685fa48ec 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -225,7 +225,7 @@ where the OS part is overloaded to denote a specific 
ABI---into GCC
          #~(modify-phases %standard-phases
              (add-before 'configure 'relax-gcc-14s-strictness
                (lambda* (#:key inputs #:allow-other-keys)
-                 (let ((bash (search-input-file inputs "/bin/bash"))
+                 (let ((bash (which "bash"))
                        (wrapper (string-append (getcwd) "/gcc.sh"))
                        (stage-wrapper (string-append (getcwd) 
"/stage-gcc.sh")))
                    (with-output-to-file wrapper

Reply via email to