summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-08-12 01:17:28 +0200
committerMarius Bakke <marius@gnu.org>2022-08-27 17:29:01 +0200
commit73b829b4ccc36ffd8575d1e62fd612f98047d272 (patch)
treedfd8b7282e84ef2d7ff5e58e4d44cf7732c72c21
parentcbb1cddbfb7585e65ce5d96210c74f65ab0f5fd3 (diff)
gnu: inetutils: Remove input labels.
* gnu/packages/admin.scm (inetutils)[inputs, native-inputs]: Remove labels. [arguments]: Use SEARCH-INPUT-FILE.
-rw-r--r--gnu/packages/admin.scm22
1 files changed, 12 insertions, 10 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index db3e881228..84c7710d45 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -857,19 +857,21 @@ re-executing them as necessary.")
;; Make sure that canonical "coreutils" package is not referred.
#:make-flags
(list (string-append "CPPFLAGS=-DPATHDEF_CP=\\\""
- (assoc-ref %build-inputs "coreutils*")
- "/bin/cp\\\""))
+ (search-input-file %build-inputs "bin/cp")
+ "\\\""))
;; On some systems, 'libls.sh' may fail with an error such as:
;; "Failed to tell switch -a apart from -A".
#:parallel-tests? #f))
- (inputs `(("coreutils*" ,coreutils)
- ("shadow" ,shadow) ;for login (used in telnetd and rlogind)
- ("ncurses" ,ncurses)
- ("readline" ,readline))) ;for 'ftp'
- (native-inputs (if (member (%current-system)
- (package-supported-systems net-tools))
- `(("netstat" ,net-tools)) ;for tests
- '()))
+ (inputs
+ (list coreutils
+ shadow ;for login (used in telnetd and rlogind)
+ ncurses
+ readline)) ;for 'ftp'
+ (native-inputs
+ (if (member (%current-system)
+ (package-supported-systems net-tools))
+ (list net-tools) ;for tests
+ '()))
(home-page "https://www.gnu.org/software/inetutils/")
(synopsis "Basic networking utilities")
(description