summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2020-08-28 10:27:53 +0200
committerMathieu Othacehe <othacehe@gnu.org>2020-08-28 10:29:22 +0200
commitd81b89bf0231c1a994d5f54bc60002f434a3f567 (patch)
treeece26cd02bd01a3672900c50e8fa676fa575a41b /gnu
parent36a09d185343375a5cba370431870f9c4435d623 (diff)
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/admin.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 5efe67b0cb8..6610b8f5c11 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1365,10 +1365,11 @@ at once based on a Perl regular expression.")
1365 "packdir=\"/var/log\"")) 1365 "packdir=\"/var/log\""))
1366 #t)) 1366 #t))
1367 (add-before 'install 'tweak-rc-weekly 1367 (add-before 'install 'tweak-rc-weekly
1368 (lambda _ 1368 (lambda* (#:key inputs #:allow-other-keys)
1369 (substitute* "rc/weekly" 1369 (substitute* "rc/weekly"
1370 (("/bin/kill") 1370 (("/bin/kill")
1371 (which "kill")) 1371 (string-append (assoc-ref inputs "coreutils*")
1372 "/bin/kill"))
1372 (("syslogd\\.pid") 1373 (("syslogd\\.pid")
1373 ;; The file is called 'syslog.pid' (no 'd'). 1374 ;; The file is called 'syslog.pid' (no 'd').
1374 "syslog.pid")) 1375 "syslog.pid"))
@@ -1379,6 +1380,7 @@ at once based on a Perl regular expression.")
1379 (native-inputs `(("texinfo" ,texinfo) 1380 (native-inputs `(("texinfo" ,texinfo)
1380 ("automake" ,automake) 1381 ("automake" ,automake)
1381 ("util-linux" ,util-linux))) ; for 'cal' 1382 ("util-linux" ,util-linux))) ; for 'cal'
1383 (inputs `(("coreutils*" ,coreutils)))
1382 (home-page "https://www.gnu.org/software/rottlog/") 1384 (home-page "https://www.gnu.org/software/rottlog/")
1383 (synopsis "Log rotation and management") 1385 (synopsis "Log rotation and management")
1384 (description 1386 (description