guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 4899d7295c4b5b017e5b3cf9f7330217c1c3e7d1
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Sep 3 17:14:14 2026 +0100
gnu: packages: Remove GOEXPERIMENT environment variable from go packages.
GOEXPERIMENT=synctest was dropped in go-1.26 which is default for build
now.
* gnu/packages/golang-build.scm (go-golang-org-x-net):
[phases]{pre-check}: Drop GOEXPERIMENT environment variable setting.
* gnu/packages/golang-web.scm
(go-github-com-googlecloudplatform-grpc-gcp-go-grpcgcp,
go-github-com-quic-go-quic-go, go-github-com-quic-go-webtransport-go):
Likewise.
* gnu/packages/golang-xyz.scm (go-github-com-creachadair-msync,
go-github-com-creachadair-taskgroup, go-github-com-gammazero-chanqueue):
Likewise
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-dsqueue): Likewise.
---
gnu/packages/golang-build.scm | 1 -
gnu/packages/golang-web.scm | 4 ----
gnu/packages/golang-xyz.scm | 3 ---
gnu/packages/ipfs.scm | 1 -
4 files changed, 9 deletions(-)
diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm
index 9941b536d02..f2a024399e4 100644
--- a/gnu/packages/golang-build.scm
+++ b/gnu/packages/golang-build.scm
@@ -1210,7 +1210,6 @@ loading algorithms.")
(add-before 'check 'pre-check
(lambda* (#:key tests? import-path #:allow-other-keys)
;; See: <https://go.dev/blog/synctest>.
- (setenv "GOEXPERIMENT" "synctest")
(setenv "GODEBUG" "asynctimerchan=0"))))))
(propagated-inputs
(list go-golang-org-x-crypto
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index e7b0089d252..a08813b7cd1 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -10514,7 +10514,6 @@ for clients and servers based on @code{gRPC} and Google
API conventions.")
(add-before 'check 'pre-check
(lambda _
;; See: <https://go.dev/blog/synctest>.
- (setenv "GOEXPERIMENT" "synctest")
(setenv "GODEBUG" "asynctimerchan=0"))))))
(native-inputs
(list go-github-com-golang-mock
@@ -19245,8 +19244,6 @@ implementation in the Go standard library}.")
(invoke "go" "generate" "-v" "-n" "./..."))))
(add-before 'check 'pre-check
(lambda* (#:key tests? import-path #:allow-other-keys)
- ;; See: <https://go.dev/blog/synctest>.
- (setenv "GOEXPERIMENT" "synctest")
;; See: <https://github.com/quic-go/quic-go/issues/5419>.
(setenv "GODEBUG" "asynctimerchan=0")
(setenv "TIMESCALE_FACTOR" "10"))))))
@@ -19309,7 +19306,6 @@ protocol.")
(add-before 'check 'pre-check
(lambda* (#:key tests? import-path #:allow-other-keys)
;; See: <https://go.dev/blog/synctest>.
- (setenv "GOEXPERIMENT" "synctest")
(setenv "GODEBUG" "asynctimerchan=0"))))))
(native-inputs
(list go-github-com-stretchr-testify))
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 310dd518dbb..9e7e3b2e581 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -8774,7 +8774,6 @@ Utilities:
(add-before 'check 'pre-check
(lambda* (#:key tests? import-path #:allow-other-keys)
;; See: <https://go.dev/blog/synctest>.
- (setenv "GOEXPERIMENT" "synctest")
(setenv "GODEBUG" "asynctimerchan=0"))))))
(propagated-inputs
(list go-github-com-creachadair-mds))
@@ -8809,7 +8808,6 @@ variable.")
(add-before 'check 'pre-check
(lambda* (#:key tests? import-path #:allow-other-keys)
;; See: <https://go.dev/blog/synctest>.
- (setenv "GOEXPERIMENT" "synctest")
(setenv "GODEBUG" "asynctimerchan=0"))))))
(home-page "https://github.com/creachadair/taskgroup")
(synopsis "Manage a group of collaborating goroutines")
@@ -12836,7 +12834,6 @@ Differentiation between text and binary files}.
(add-before 'check 'pre-check
(lambda* (#:key tests? import-path #:allow-other-keys)
;; See: <https://go.dev/blog/synctest>.
- (setenv "GOEXPERIMENT" "synctest")
(setenv "GODEBUG" "asynctimerchan=0"))))))
(native-inputs
(list go-go-uber-org-goleak))
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index 90834856198..12a73dbb155 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -538,7 +538,6 @@ go-datastore}.")
(add-before 'check 'pre-check
(lambda* (#:key tests? import-path #:allow-other-keys)
;; See: <https://go.dev/blog/synctest>.
- (setenv "GOEXPERIMENT" "synctest")
(setenv "GODEBUG" "asynctimerchan=0"))))))
(native-inputs
(list go-github-com-ipfs-go-test))