summaryrefslogtreecommitdiff
path: root/gnu/packages/high-availability.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-05-27 22:23:18 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-08-11 21:42:34 +0100
commit02490211ac8976425e3d2ad6789e1cf3722cbf40 (patch)
tree759554766aaa5b8e4554063887deb1ef9a308ff9 /gnu/packages/high-availability.scm
parent45c147ea98f26c87b7cfd6dd157601932ed4e329 (diff)
gnu: nsq: Simplify.
* gnu/packages/high-availability.scm (nsq) [arguments] <phases>: Add 'pre-check; use default 'check. Change-Id: Ie382e4ae9d8776c1c39494f39e21957a59038ac4
Diffstat (limited to 'gnu/packages/high-availability.scm')
-rw-r--r--gnu/packages/high-availability.scm13
1 files changed, 3 insertions, 10 deletions
diff --git a/gnu/packages/high-availability.scm b/gnu/packages/high-availability.scm
index a70a990cb0a..4e039046777 100644
--- a/gnu/packages/high-availability.scm
+++ b/gnu/packages/high-availability.scm
@@ -373,16 +373,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)