From 0c4fb8f43f8aba2dcabe1bc97a8f6d8d41057704 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Tue, 22 Aug 2023 21:37:41 +0800 Subject: [PATCH] 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 @@ (define (mcron-shepherd-services config) (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")