gnu: gnutls: Fix cross-compilation.

* gnu/packages/tls.scm (gnutls)[arguments]: Disable tests when
cross-compiling.
This commit is contained in:
Mathieu Othacehe 2020-10-05 10:57:28 +02:00
parent 62cf60da7a
commit 525a351efa
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -181,7 +181,8 @@ (define-public gnutls
"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