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

commit a74f6b51d8f2c53fd3916757f0d4fecd4c9c53ce
Author: Zheng Junjie <[email protected]>
AuthorDate: Wed Jul 29 19:23:20 2026 +0800

    gnu: go-1.4: Fix build.
    
    * gnu/packages/golang.scm (go-1.4)[arguments]: Set disallowed-references to
    '().
    <#:phases>: Remove unused variable, avoid compilation errors.
---
 gnu/packages/golang.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6e900199340..9be962698b1 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -132,6 +132,8 @@
                   (guix build utils)
                   (srfi srfi-1))
        #:tests? #f ; Tests are run by the all.bash script.
+       ;; The bin/go and cgo need the gcc
+       #:disallowed-references ()
        #:phases
        (modify-phases %standard-phases
          (delete 'configure)
@@ -222,7 +224,6 @@
            (lambda* (#:key outputs inputs #:allow-other-keys)
              (let* ((output (assoc-ref outputs "out"))
                     (doc_out (assoc-ref outputs "doc"))
-                    (bash (string-append (assoc-ref inputs "bash") "bin/bash"))
                     (docs (string-append doc_out "/share/doc/" ,name "-" 
,version))
                     (tests (string-append
                             (assoc-ref outputs "tests") "/share/" ,name "-" 
,version)))

Reply via email to