From d436c6b56673608e1e44ba87c211bc3ec4d747ca Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 22 Oct 2017 13:05:04 +0200 Subject: [PATCH] gnu: rottlog: Remove hard-coded '/usr/sbin/sendmail' reference. * gnu/packages/admin.scm (rottlog)[arguments]: Add 'patch-paths' phase. --- gnu/packages/admin.scm | 5 +++++ 1 file changed, 5 insertions(+) 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.