summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2017-10-22 13:05:04 +0200
committerMarius Bakke <mbakke@fastmail.com>2017-10-22 13:22:59 +0200
commitd436c6b56673608e1e44ba87c211bc3ec4d747ca (patch)
tree83a19c1d9d8e290e192ed5a9f9b19fe80f0a812e /gnu
parent58f0a19c5843f9d187b4b60b1ec42a3357ce9d13 (diff)
downloadguix-d436c6b56673608e1e44ba87c211bc3ec4d747ca.tar.gz
gnu: rottlog: Remove hard-coded '/usr/sbin/sendmail' reference.
* gnu/packages/admin.scm (rottlog)[arguments]: Add 'patch-paths' phase.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/admin.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 265ca63213..cb5e86d39a 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -783,6 +783,11 @@ over ssh connections.")
                                          "/etc"))
 
        #:phases (modify-phases %standard-phases
+                  (add-after 'unpack 'patch-paths
+                    (lambda _
+                      (substitute* "rc/rc"
+                        (("/usr/sbin/sendmail") "sendmail"))
+                      #t))
                   (add-after 'build 'set-packdir
                     (lambda _
                       ;; Set a default location for archived logs.