~ruther/guix-local

f215d801277a60cc1d862ed59c179cb8a482ced5 — Bruno Victal 3 years ago 21f35d2
services: fstrim: Fix schedule ungexp.

Previously, only the first level of the list would be quoted,
resulting in a schedule of the sort:
'(next-second (range 0 60 30))
being incorrectly ungexp'd into:
(list next-second (0 30))

* gnu/services/linux.scm (fstrim-mcron-job): Fix schedule ungexp.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
1 files changed, 1 insertions(+), 1 deletions(-)

M gnu/services/linux.scm
M gnu/services/linux.scm => gnu/services/linux.scm +1 -1
@@ 234,7 234,7 @@ more information)."
       ;; lists are ungexp'd correctly since @var{schedule}
       ;; can be either a procedure, a string or a list.
       #$(if (list? schedule)
             `(list ,@schedule)
             #~'(#$@schedule)
             schedule)
       (lambda ()
         (system* #$(file-append package "/sbin/fstrim")