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.
This commit is contained in:
Ludovic Courtès 2022-07-31 18:46:45 +02:00
parent e5a6900baf
commit a3a6931c75
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -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