From 7e59d6a6ec0ba7baa239657e381b279dfd7e697d Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 1 May 2026 15:10:18 +0100 Subject: [PATCH] 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 --- gnu/packages/golang-xyz.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 03040724a26..bd55dff1d44 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -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: . + (setenv "GOEXPERIMENT" "synctest") + (setenv "GODEBUG" "asynctimerchan=0")))))) (native-inputs (list go-go-uber-org-goleak)) (propagated-inputs