1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-26 11:01:48 +02:00

services: mcron: Use (shepherd support) module unconditionally.

This fixes a issue introduced in the previous commit 552d070377 (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.
This commit is contained in:
Hilton Chain
2023-08-22 21:37:41 +08:00
parent 552d070377
commit 0c4fb8f43f
+1 -3
View File
@@ -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")