guix_mirror_bot pushed a commit to branch go-team in repository guix. commit 443045a46f80b8471b87027202f26f40a1825c43 Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Tue May 27 22:23:18 2025 +0100
gnu: nsq: Simplify. * gnu/packages/high-availability.scm (nsq) [arguments] <phases>: Add 'pre-check; use default 'check. Change-Id: Ie382e4ae9d8776c1c39494f39e21957a59038ac4 --- gnu/packages/high-availability.scm | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/gnu/packages/high-availability.scm b/gnu/packages/high-availability.scm index ed09909251..b91184e594 100644 --- a/gnu/packages/high-availability.scm +++ b/gnu/packages/high-availability.scm @@ -276,16 +276,9 @@ systems.") (lambda* (#:key import-path #:allow-other-keys) (with-directory-excursion (string-append "src/" import-path) (invoke "make")))) - (replace 'check - (lambda* (#:key tests? import-path #:allow-other-keys) - (when tests? - (setenv "HOME" "/tmp") - (with-directory-excursion (string-append "src/" import-path) - ;; go test: -race is only supported on linux/amd64, - ;; linux/ppc64le, linux/arm64 - (invoke #$@(if (not target-x86-32?) - (list "go" "test" "-v" "-race" "./...") - (list "go" "test" "-v" "./..."))))))) + (add-before 'check 'pre-check + (lambda _ + (setenv "HOME" "/tmp"))) (replace 'install (lambda* (#:key import-path #:allow-other-keys) (with-directory-excursion (string-append "src/" import-path)