mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 06:46:50 +01:00
gnu: rottlog: Do not refer to the canonical coreutils.
* gnu/packages/admin.scm (rottlog)[inputs]: Add "coreutils", [arguments]: and use it in the 'tweak-rc-weekly phase.
This commit is contained in:
parent
36a09d1853
commit
d81b89bf02
1 changed files with 4 additions and 2 deletions
|
@ -1365,10 +1365,11 @@ (define-public rottlog
|
|||
"packdir=\"/var/log\""))
|
||||
#t))
|
||||
(add-before 'install 'tweak-rc-weekly
|
||||
(lambda _
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "rc/weekly"
|
||||
(("/bin/kill")
|
||||
(which "kill"))
|
||||
(string-append (assoc-ref inputs "coreutils*")
|
||||
"/bin/kill"))
|
||||
(("syslogd\\.pid")
|
||||
;; The file is called 'syslog.pid' (no 'd').
|
||||
"syslog.pid"))
|
||||
|
@ -1379,6 +1380,7 @@ (define-public rottlog
|
|||
(native-inputs `(("texinfo" ,texinfo)
|
||||
("automake" ,automake)
|
||||
("util-linux" ,util-linux))) ; for 'cal'
|
||||
(inputs `(("coreutils*" ,coreutils)))
|
||||
(home-page "https://www.gnu.org/software/rottlog/")
|
||||
(synopsis "Log rotation and management")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue