summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2020-10-05 10:57:28 +0200
committerMathieu Othacehe <othacehe@gnu.org>2020-10-05 11:10:35 +0200
commit525a351efaea52dbd4f93321a490397ebeb2130f (patch)
tree09f1b8136acaca37e2fda2aad6736f9f7fcb2342 /gnu/packages
parent62cf60da7aa3d009c881456ca40a52714889e348 (diff)
downloadguix-525a351efaea52dbd4f93321a490397ebeb2130f.tar.gz
gnu: gnutls: Fix cross-compilation.
* gnu/packages/tls.scm (gnutls)[arguments]: Disable tests when
cross-compiling.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/tls.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index a773b07b76..cfdef6a930 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -181,7 +181,8 @@ living in the same process.")
                "0jvca1qahn9lrwv6f5kfs95icirc15b2a8x9fzczyj996ipg3b5z"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:tests? ,(not (hurd-target?))
+     `(#:tests? ,(not (or (%current-target-system)
+                          (hurd-target?)))
        ;; Ensure we don't keep a reference to net-tools.
        #:disallowed-references ,(if (hurd-target?) '() (list net-tools))
        #:configure-flags