summary refs log tree commit diff
path: root/doc/guix.texi
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-07-22 22:15:04 +0200
committerLudovic Courtès <ludo@gnu.org>2020-07-23 00:22:25 +0200
commit9e0d896bf3208a6dffa9b2798185dbf976bad9a8 (patch)
tree0ee01d0ca94ccdf0d1fdcab71a665328e02db3d4 /doc/guix.texi
parent63c799c1c585214cce4bfe3b9f8493255afa561e (diff)
downloadguix-9e0d896bf3208a6dffa9b2798185dbf976bad9a8.tar.gz
doc: Tweak mcron example.
* doc/guix.texi (Scheduled Job Execution): In example, move '%min-level'
definition after 'use-modules'.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r--doc/guix.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index feef91b59c..b0eba017a6 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -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