guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/07: gnu: rottlog: Remove input labels.


From: guix-commits
Subject: 03/07: gnu: rottlog: Remove input labels.
Date: Sun, 31 Jul 2022 18:06:33 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit a3a6931c75c899ad749e5bc8965ec5b5ed55451d
Author: Ludovic Court├Ęs <ludo@gnu.org>
AuthorDate: Sun Jul 31 18:46:45 2022 +0200

    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.
---
 gnu/packages/admin.scm | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index c9377bd5da..e66277ea92 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]