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 @@ (define-public rottlog
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(substitute* "rc/weekly" (substitute* "rc/weekly"
(("/bin/kill") (("/bin/kill")
(string-append (assoc-ref inputs "coreutils*") (search-input-file inputs "/bin/kill"))
"/bin/kill"))
(("syslogd\\.pid") (("syslogd\\.pid")
;; The file is called 'syslog.pid' (no 'd'). ;; The file is called 'syslog.pid' (no 'd').
"syslog.pid")) "syslog.pid"))))
#t))
(add-after 'install 'install-info (add-after 'install 'install-info
(lambda _ (lambda _
(invoke "make" "install-info")))))) (invoke "make" "install-info"))))))
(native-inputs (list texinfo automake util-linux)) ; for 'cal' (native-inputs (list texinfo automake util-linux)) ; for 'cal'
(inputs `(("coreutils*" ,coreutils) (inputs (list coreutils mailutils))
("mailutils" ,mailutils)))
(home-page "https://www.gnu.org/software/rottlog/") (home-page "https://www.gnu.org/software/rottlog/")
(synopsis "Log rotation and management") (synopsis "Log rotation and management")
(description (description