From 455ecb5cbe3201e4c1591ed12650cad6ba34893a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 13 Feb 2023 16:27:48 +0200 Subject: 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. --- gnu/packages/golang.scm | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 829b216cf3..55c489a5d7 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -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 -- cgit v1.2.3