diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-07-31 18:46:45 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-08-01 00:02:04 +0200 |
commit | a3a6931c75c899ad749e5bc8965ec5b5ed55451d (patch) | |
tree | f660cb9bf75794bd13136c7b390801fb08662806 /gnu | |
parent | e5a6900baf758a12024283171bf45f2fe90121ee (diff) | |
download | guix-a3a6931c75c899ad749e5bc8965ec5b5ed55451d.tar.gz guix-a3a6931c75c899ad749e5bc8965ec5b5ed55451d.zip |
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.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/admin.scm | 9 |
1 files 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 |