gnu: net-tools: Add a test-only variant and use it for GnuTLS.
* gnu/packages/linux.scm (net-tools-for-tests): Add hidden net-tools variant. * gnu/packages/tls.scm (gnutls)[native-inputs]: Use net-tools-for-tests instead of net-tools.
This commit is contained in:
parent
bcd757fdb4
commit
f96dbf6b70
|
@ -1288,6 +1288,9 @@ network hardware types (plipconfig, slattach) and advanced aspects of IP
|
||||||
configuration (iptunnel, ipmaddr).")
|
configuration (iptunnel, ipmaddr).")
|
||||||
(license license:gpl2+)))
|
(license license:gpl2+)))
|
||||||
|
|
||||||
|
(define-public net-tools-for-tests
|
||||||
|
(hidden-package net-tools))
|
||||||
|
|
||||||
(define-public libcap
|
(define-public libcap
|
||||||
(package
|
(package
|
||||||
(name "libcap")
|
(name "libcap")
|
||||||
|
|
|
@ -140,6 +140,9 @@ coordinating the use of PKCS#11 by different components or libraries
|
||||||
living in the same process.")
|
living in the same process.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
|
|
||||||
|
;; TODO Add net-tools-for-tests to #:disallowed-references when we can afford
|
||||||
|
;; rebuild GnuTLS (i.e. core-updates).
|
||||||
(define-public gnutls
|
(define-public gnutls
|
||||||
(package
|
(package
|
||||||
(name "gnutls")
|
(name "gnutls")
|
||||||
|
@ -194,7 +197,7 @@ living in the same process.")
|
||||||
"debug"
|
"debug"
|
||||||
"doc")) ;4.1 MiB of man pages
|
"doc")) ;4.1 MiB of man pages
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("net-tools" ,net-tools)
|
`(("net-tools" ,net-tools-for-tests)
|
||||||
("pkg-config" ,pkg-config)
|
("pkg-config" ,pkg-config)
|
||||||
("which" ,which)))
|
("which" ,which)))
|
||||||
(inputs
|
(inputs
|
||||||
|
|
Loading…
Reference in New Issue