mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 22:50:23 -05:00
doc: Tweak mcron example.
* doc/guix.texi (Scheduled Job Execution): In example, move '%min-level' definition after 'use-modules'.
This commit is contained in:
parent
63c799c1c5
commit
9e0d896bf3
1 changed files with 3 additions and 1 deletions
|
@ -13843,12 +13843,14 @@ illustrates that.
|
||||||
(with-imported-modules (source-module-closure
|
(with-imported-modules (source-module-closure
|
||||||
'((guix build utils)))
|
'((guix build utils)))
|
||||||
#~(begin
|
#~(begin
|
||||||
(define %min-level 20)
|
|
||||||
(use-modules (guix build utils)
|
(use-modules (guix build utils)
|
||||||
(ice-9 popen)
|
(ice-9 popen)
|
||||||
(ice-9 regex)
|
(ice-9 regex)
|
||||||
(ice-9 textual-ports)
|
(ice-9 textual-ports)
|
||||||
(srfi srfi-2))
|
(srfi srfi-2))
|
||||||
|
|
||||||
|
(define %min-level 20)
|
||||||
|
|
||||||
(setenv "LC_ALL" "C") ;ensure English output
|
(setenv "LC_ALL" "C") ;ensure English output
|
||||||
(and-let* ((input-pipe (open-pipe*
|
(and-let* ((input-pipe (open-pipe*
|
||||||
OPEN_READ
|
OPEN_READ
|
||||||
|
|
Loading…
Reference in a new issue