me
/
guix
Archived
1
0
Fork 0

gnu: gcc: Change make-gccgo to use gexp's.

As otherwise this seems to generate broken derivations for i586-gnu.

* gnu/packages/gcc.scm (make-gccgo): Use gexp's for the package arguments.
master
Christopher Baines 2023-05-11 15:54:10 +01:00
parent ded8cdbe89
commit 70986f052a
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 28 additions and 28 deletions

View File

@ -1156,7 +1156,7 @@ provides the GNU compiler for the Go programming language.")
(arguments
(substitute-keyword-arguments (package-arguments gccgo)
((#:phases phases)
`(modify-phases ,phases
#~(modify-phases #$phases
(add-after 'install 'wrap-go-with-tool-path
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
@ -1177,7 +1177,7 @@ provides the GNU compiler for the Go programming language.")
(substitute* "libgo/Makefile.in"
(("(GccgoToolDir = \\\")[^\\\"]+" _ start)
(string-append start "/nonexistent"))
,@(if (version>=? (package-version gccgo) "12.0")
#$@(if (version>=? (package-version gccgo) "12.0")
'((("(defaultGOROOT = `)[^`]+" _ start)
(string-append start "/nonexistent")))
'((("(DefaultGoroot = \\\")[^\\\"]+" _ start)