From a3a6931c75c899ad749e5bc8965ec5b5ed55451d Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 31 Jul 2022 18:46:45 +0200 Subject: 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(-) (limited to 'gnu') 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 @@ (define-public rottlog (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 -- cgit v1.2.3