summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-07-20 17:39:55 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-07-21 13:19:33 +0300
commit8442760638f5d2728d60eaba2d049dd31ac21fd9 (patch)
treedc55b0bc003b782f96478c68c66d6b9acd419953
parent261422e7451901d99c6cfcbaa5e0037117588f34 (diff)
downloadguix-8442760638f5d2728d60eaba2d049dd31ac21fd9.tar.gz
gnu: zstd: Skip tests when cross-compiling.
* gnu/packages/compression.scm (zstd)[arguments]: Adjust #:tests? to
skip tests when cross-compiling.
-rw-r--r--gnu/packages/compression.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index e4d3293f9d..10cbfb526d 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -1661,7 +1661,8 @@ or junctions, and always follows hard links.")
              ;; Not currently detected, but be explicit & avoid surprises later.
              "HAVE_LZ4=0"
              "HAVE_ZLIB=0")
-       #:tests? ,(not (target-hurd?))))
+       #:tests? ,(not (or (target-hurd?)
+                          (%current-target-system)))))
     (home-page "https://facebook.github.io/zstd/")
     (synopsis "Zstandard real-time compression algorithm")
     (description "Zstandard (@command{zstd}) is a lossless compression algorithm