doc: Tweak mcron example.
authorLudovic Courtès <ludo@gnu.org>
Wed, 22 Jul 2020 20:15:04 +0000 (22:15 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 22 Jul 2020 22:22:25 +0000 (00:22 +0200)
* doc/guix.texi (Scheduled Job Execution): In example, move '%min-level'
definition after 'use-modules'.

doc/guix.texi

index feef91b..b0eba01 100644 (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