From 4bbe22d2e274841d3aba974227f15c7fe74e0b78 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 22 Aug 2025 00:03:18 +0300 Subject: [PATCH] gnu: go-1.22: Build with go-1.20. * gnu/packages/golang.scm (go-1.22)[native-inputs]: Replace go-1.21 with go-1.20. Update the comment. Change-Id: I3785ecb882ba2c5f7ef888df123b44a88fc9665e Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 8ced9fba8c7d37a29e8142772573d22fea7aa6af..859a756ba5724a92ed6bfb05bdbd2727755fcf71 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1092,9 +1092,8 @@ in the style of communicating sequential processes (@dfn{CSP}).") (substitute* "src/cmd/cgo/internal/testsanitizers/tsan_test.go" ((".*tsan1[34].*") "")))))))) (native-inputs - ;; Go 1.22 and later requires Go 1.20 (min. 1.20.6, which we don't have) - ;; as the bootstrap toolchain. - (alist-replace "go" (list go-1.21) (package-native-inputs go-1.21))))) + ;; Go 1.22 and later requires Go 1.20 as the bootstrap toolchain. + (alist-replace "go" (list go-1.20) (package-native-inputs go-1.20))))) (define %go-1.23-arm64-micro-architectures ;; https://go.dev/wiki/MinimumRequirements#arm64