This is an automated email from the git hooks/post-receive script.

hako pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 0c4fb8f43f services: mcron: Use (shepherd support) module 
unconditionally.
0c4fb8f43f is described below

commit 0c4fb8f43f8aba2dcabe1bc97a8f6d8d41057704
Author: Hilton Chain <[email protected]>
AuthorDate: Tue Aug 22 21:37:41 2023 +0800

    services: mcron: Use (shepherd support) module unconditionally.
    
    This fixes a issue introduced in the previous commit 552d0703776c (services:
    mcron: Add module for %user-log-dir.)  which made the expression invalid 
when
    using a '() module for the system service.
    
    * gnu/services/mcron.scm (mcron-shepherd-services)[modules]: Use
    (shepherd support) unconditionally.
---
 gnu/services/mcron.scm | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/gnu/services/mcron.scm b/gnu/services/mcron.scm
index eff40e74bd..cea68beef8 100644
--- a/gnu/services/mcron.scm
+++ b/gnu/services/mcron.scm
@@ -165,9 +165,7 @@ files."
                             (ice-9 popen) ;for the 'schedule' action
                             (ice-9 rdelim)
                             (ice-9 match)
-                            ,(if home-service?
-                                 '((shepherd support) #:select (%user-log-dir))
-                                 '())
+                            ((shepherd support) #:select (%user-log-dir))
                             ,@%default-modules))
                  (start #~(make-forkexec-constructor
                            (list #$(file-append mcron "/bin/mcron")

Reply via email to