From a3a6931c75c899ad749e5bc8965ec5b5ed55451d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 31 Jul 2022 18:46:45 +0200 Subject: [PATCH] gnu: rottlog: Remove input labels. * gnu/packages/admin.scm (rottlog)[arguments]: In 'tweak-rc-weekly', use 'search-input-file' instead of 'assoc-ref'. [inputs]: Remove labels. --- gnu/packages/admin.scm | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index c9377bd5da..e66277ea92 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -1830,18 +1830,15 @@ at once based on a Perl regular expression.") (lambda* (#:key inputs #:allow-other-keys) (substitute* "rc/weekly" (("/bin/kill") - (string-append (assoc-ref inputs "coreutils*") - "/bin/kill")) + (search-input-file inputs "/bin/kill")) (("syslogd\\.pid") ;; The file is called 'syslog.pid' (no 'd'). - "syslog.pid")) - #t)) + "syslog.pid")))) (add-after 'install 'install-info (lambda _ (invoke "make" "install-info")))))) (native-inputs (list texinfo automake util-linux)) ; for 'cal' - (inputs `(("coreutils*" ,coreutils) - ("mailutils" ,mailutils))) + (inputs (list coreutils mailutils)) (home-page "https://www.gnu.org/software/rottlog/") (synopsis "Log rotation and management") (description