Subject: [PATCH 1/3] gnu: mcron: Use correct sendmail.

From: Tomas Volf <[email-masked]>
Date: Sat, 25 Jan 2025 00:46:36 +0100

When the crons are running, /run/privileged/bin is not in the $PATH, hence the
default of "sendmail -t" does not work.

* gnu/packages/guile-xyz.scm (mcron)[arguments]<#:configure-flags>: Set
sendmail path.

Change-Id: I86ffa5ddf26209acd8f706394ac13e63dcf4e0ec
---
 gnu/packages/guile-xyz.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index b59d19e9d8..79bd80135b 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -3288,6 +3288,9 @@ (define-public mcron
     (build-system gnu-build-system)
     (arguments
      (list
+      #:configure-flags
+      #~(list
+         "--with-sendmail=/run/privileged/bin/sendmail -t")
       #:phases #~(modify-phases %standard-phases
                    (add-before 'check 'adjust-tests
                      (lambda _
-- 
2.47.1