guix_mirror_bot pushed a commit to branch go-team
in repository guix.
commit 2e0d88e628d9499a9f39c4153792409c9b327e3f
Author: Efraim Flashner <[email protected]>
AuthorDate: Fri Aug 22 00:03:18 2025 +0300
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 <[email protected]>
---
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 8ced9fba8c..859a756ba5 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