mothacehe pushed a commit to branch master
in repository guix.
commit 525a351efaea52dbd4f93321a490397ebeb2130f
Author: Mathieu Othacehe <[email protected]>
AuthorDate: Mon Oct 5 10:57:28 2020 +0200
gnu: gnutls: Fix cross-compilation.
* gnu/packages/tls.scm (gnutls)[arguments]: Disable tests when
cross-compiling.
---
gnu/packages/tls.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index a773b07..cfdef6a 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