mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-03 18:09:18 -05:00
gnu: go-1.14: On systems not supported by go-1.4 use gccgo-12.
* gnu/packages/golang.scm (go-1.14)[native-inputs]: On systems not supported by go-1.4 replace gccgo-10 with gccgo-12. (go-1.17)[native-inputs]: Remove workaround and inherit from go-1.14.
This commit is contained in:
parent
ae2ecd04fc
commit
455ecb5cbe
1 changed files with 2 additions and 8 deletions
|
@ -463,7 +463,7 @@ (define-public go-1.14
|
|||
(native-inputs
|
||||
`(,@(if (member (%current-system) (package-supported-systems go-1.4))
|
||||
`(("go" ,go-1.4))
|
||||
`(("go" ,gccgo-10)))
|
||||
`(("go" ,gccgo-12)))
|
||||
("go-skip-gc-test.patch" ,(search-patch "go-skip-gc-test.patch"))
|
||||
,@(match (%current-system)
|
||||
((or "armhf-linux" "aarch64-linux")
|
||||
|
@ -837,13 +837,7 @@ (define-public go-1.17
|
|||
"README.md" "SECURITY.md"))))))))
|
||||
(inputs (if (not (target-arm?))
|
||||
(alist-delete "gcc:lib" (package-inputs go-1.16))
|
||||
(package-inputs go-1.16)))
|
||||
(native-inputs
|
||||
(if (not (member (%current-system) (package-supported-systems go-1.4)))
|
||||
;; gccgo-10.4, 11.3 and lower has a bug which causes bootstrapping
|
||||
;; to fail. Use go-1.16 until we have a newer version available.
|
||||
(alist-replace "go" (list go-1.16) (package-native-inputs go-1.16))
|
||||
(package-native-inputs go-1.16)))))
|
||||
(package-inputs go-1.16)))))
|
||||
|
||||
(define-public go-1.18
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue