doc: Tweak mcron example.

* doc/guix.texi (Scheduled Job Execution): In example, move '%min-level'
definition after 'use-modules'.
This commit is contained in:
Ludovic Courtès 2020-07-22 22:15:04 +02:00
parent 63c799c1c5
commit 9e0d896bf3
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -13843,12 +13843,14 @@ illustrates that.
(with-imported-modules (source-module-closure
'((guix build utils)))
#~(begin
(define %min-level 20)
(use-modules (guix build utils)
(ice-9 popen)
(ice-9 regex)
(ice-9 textual-ports)
(srfi srfi-2))
(define %min-level 20)
(setenv "LC_ALL" "C") ;ensure English output
(and-let* ((input-pipe (open-pipe*
OPEN_READ