guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: net-tools: Add a test-only variant and use it for GnuTLS.


From: Leo Famulari
Subject: 01/01: gnu: net-tools: Add a test-only variant and use it for GnuTLS.
Date: Wed, 26 Jul 2017 12:07:42 -0400 (EDT)

lfam pushed a commit to branch master
in repository guix.

commit f96dbf6b70364518072c63037d3fca105dfe6497
Author: Leo Famulari <address@hidden>
Date:   Tue Jul 25 20:24:23 2017 -0400

    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.
---
 gnu/packages/linux.scm | 3 +++
 gnu/packages/tls.scm   | 5 ++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 456909a..7412ee5 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1288,6 +1288,9 @@ network hardware types (plipconfig, slattach) and 
advanced aspects of IP
 configuration (iptunnel, ipmaddr).")
     (license license:gpl2+)))
 
+(define-public net-tools-for-tests
+  (hidden-package net-tools))
+
 (define-public libcap
   (package
     (name "libcap")
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 0a81633..b39e06c 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -140,6 +140,9 @@ coordinating the use of PKCS#11 by different components or 
libraries
 living in the same process.")
     (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
   (package
     (name "gnutls")
@@ -194,7 +197,7 @@ living in the same process.")
                "debug"
                "doc"))                            ;4.1 MiB of man pages
     (native-inputs
-     `(("net-tools" ,net-tools)
+     `(("net-tools" ,net-tools-for-tests)
        ("pkg-config" ,pkg-config)
        ("which" ,which)))
     (inputs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]