gnu: tls: Remove datefudge and disable tests on the Hurd.

* gnu/packages/tls.scm (gnutls)[arguments]: When compiling for the Hurd,
disable tests.
[native-inputs]: When compiling for the Hurd, do not include datefudge.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2020-04-15 18:14:24 +02:00 committed by Jan Nieuwenhuizen
parent eaff60b35f
commit 2d49f17512
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -181,7 +181,8 @@ (define-public gnutls
"0jvca1qahn9lrwv6f5kfs95icirc15b2a8x9fzczyj996ipg3b5z"))))
(build-system gnu-build-system)
(arguments
`(; Ensure we don't keep a reference to this buggy software.
`(,@(if (hurd-target?) '(#:tests? #f) '())
; Ensure we don't keep a reference to this buggy software.
#:disallowed-references (,net-tools)
#:configure-flags
(list
@ -230,7 +231,8 @@ (define-public gnutls
`(("net-tools" ,net-tools)))
("pkg-config" ,pkg-config)
("which" ,which)
("datefudge" ,datefudge) ;tests rely on 'datefudge'
,@(if (hurd-target?) '()
`(("datefudge" ,datefudge))) ;tests rely on 'datefudge'
("util-linux" ,util-linux))) ;one test needs 'setsid'
(inputs
`(("guile" ,guile-3.0)))