mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: nsq: Fix build on i686-linux.
As seen in https://ci.guix.gnu.org/build/3329277/details * gnu/packages/high-availability.scm (nsq)[arguments]<#:phases>{check}: Skip '-race' option during tests on i686-linux. Change-Id: I952d7187443835d5fbcb74f0ae09b923bd6bdb29
This commit is contained in:
parent
0eadd48648
commit
65e7828a95
1 changed files with 3 additions and 1 deletions
|
@ -223,7 +223,9 @@ (define-public nsq
|
||||||
(when tests?
|
(when tests?
|
||||||
(setenv "HOME" "/tmp")
|
(setenv "HOME" "/tmp")
|
||||||
(with-directory-excursion (string-append "src/" import-path)
|
(with-directory-excursion (string-append "src/" import-path)
|
||||||
(invoke #$@(if (target-x86?)
|
;; 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" "-race" "./...")
|
||||||
(list "go" "test" "-v" "./...")))))))
|
(list "go" "test" "-v" "./...")))))))
|
||||||
(replace 'install
|
(replace 'install
|
||||||
|
|
Loading…
Reference in a new issue