~ruther/guix-local

4bbe22d2e274841d3aba974227f15c7fe74e0b78 — Efraim Flashner 7 months ago 28301e3
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 <sharlatanus@gmail.com>
1 files changed, 2 insertions(+), 3 deletions(-)

M gnu/packages/golang.scm
M gnu/packages/golang.scm => gnu/packages/golang.scm +2 -3
@@ 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