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 | |
| parent | 0eadd486484fcf9a234758842f74ba28361640db (diff) | |
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')
| -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 e4920cb3d77..eccdb3594e9 100644 --- a/gnu/packages/high-availability.scm +++ b/gnu/packages/high-availability.scm | |||
| @@ -223,7 +223,9 @@ applications.") | |||
| 223 | (when tests? | 223 | (when tests? |
| 224 | (setenv "HOME" "/tmp") | 224 | (setenv "HOME" "/tmp") |
| 225 | (with-directory-excursion (string-append "src/" import-path) | 225 | (with-directory-excursion (string-append "src/" import-path) |
| 226 | (invoke #$@(if (target-x86?) | 226 | ;; go test: -race is only supported on linux/amd64, |
| 227 | ;; linux/ppc64le, linux/arm64 | ||
| 228 | (invoke #$@(if (not target-x86-32?) | ||
| 227 | (list "go" "test" "-v" "-race" "./...") | 229 | (list "go" "test" "-v" "-race" "./...") |
| 228 | (list "go" "test" "-v" "./..."))))))) | 230 | (list "go" "test" "-v" "./..."))))))) |
| 229 | (replace 'install | 231 | (replace 'install |
