diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-01-19 13:54:22 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-01-19 13:57:54 +0000 |
commit | 65e7828a95d6317d895f842c94a6f1406e1b45f8 (patch) | |
tree | 9677f8eb522912d3bb8ac0a8c881b394f36a4a14 /gnu/packages/high-availability.scm | |
parent | 0eadd486484fcf9a234758842f74ba28361640db (diff) | |
download | guix-65e7828a95d6317d895f842c94a6f1406e1b45f8.tar.gz guix-65e7828a95d6317d895f842c94a6f1406e1b45f8.zip |
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
Diffstat (limited to 'gnu/packages/high-availability.scm')
-rw-r--r-- | gnu/packages/high-availability.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/high-availability.scm b/gnu/packages/high-availability.scm index e4920cb3d7..eccdb3594e 100644 --- a/gnu/packages/high-availability.scm +++ b/gnu/packages/high-availability.scm @@ -223,7 +223,9 @@ applications.") (when tests? (setenv "HOME" "/tmp") (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" "./..."))))))) (replace 'install |