mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 03:29:40 -05:00
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:
parent
e5a6900baf
commit
a3a6931c75
1 changed files with 3 additions and 6 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue