1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-09 10:45:54 +02:00

gnu: go-github-com-gammazero-chanqueue: Fix tests.

* gnu/packages/golang-xyz.scm (go-github-com-gammazero-chanqueue):
[phases]{pre-check}: New phase.

Change-Id: Ie6c96c955bb5716f3bd16d47893758686e34accf
This commit is contained in:
Sharlatan Hellseher
2026-05-01 15:10:18 +01:00
parent 8f26ae84cd
commit 7e59d6a6ec
+8 -1
View File
@@ -10571,7 +10571,14 @@ Differentiation between text and binary files}.
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/gammazero/chanqueue"))
#:import-path "github.com/gammazero/chanqueue"
#:phases
#~(modify-phases %standard-phases
(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))
(propagated-inputs