gnu: inetutils: Remove input labels.

* gnu/packages/admin.scm (inetutils)[inputs, native-inputs]: Remove labels.
[arguments]: Use SEARCH-INPUT-FILE.
This commit is contained in:
Marius Bakke 2022-08-12 01:17:28 +02:00
parent cbb1cddbfb
commit 73b829b4cc
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -857,18 +857,20 @@ (define-public inetutils
;; Make sure that canonical "coreutils" package is not referred. ;; Make sure that canonical "coreutils" package is not referred.
#:make-flags #:make-flags
(list (string-append "CPPFLAGS=-DPATHDEF_CP=\\\"" (list (string-append "CPPFLAGS=-DPATHDEF_CP=\\\""
(assoc-ref %build-inputs "coreutils*") (search-input-file %build-inputs "bin/cp")
"/bin/cp\\\"")) "\\\""))
;; On some systems, 'libls.sh' may fail with an error such as: ;; On some systems, 'libls.sh' may fail with an error such as:
;; "Failed to tell switch -a apart from -A". ;; "Failed to tell switch -a apart from -A".
#:parallel-tests? #f)) #:parallel-tests? #f))
(inputs `(("coreutils*" ,coreutils) (inputs
("shadow" ,shadow) ;for login (used in telnetd and rlogind) (list coreutils
("ncurses" ,ncurses) shadow ;for login (used in telnetd and rlogind)
("readline" ,readline))) ;for 'ftp' ncurses
(native-inputs (if (member (%current-system) readline)) ;for 'ftp'
(native-inputs
(if (member (%current-system)
(package-supported-systems net-tools)) (package-supported-systems net-tools))
`(("netstat" ,net-tools)) ;for tests (list net-tools) ;for tests
'())) '()))
(home-page "https://www.gnu.org/software/inetutils/") (home-page "https://www.gnu.org/software/inetutils/")
(synopsis "Basic networking utilities") (synopsis "Basic networking utilities")