guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/07: doc: Tweak mcron example.


From: guix-commits
Subject: 02/07: doc: Tweak mcron example.
Date: Wed, 22 Jul 2020 18:26:19 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 9e0d896bf3208a6dffa9b2798185dbf976bad9a8
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Jul 22 22:15:04 2020 +0200

    doc: Tweak mcron example.
    
    * doc/guix.texi (Scheduled Job Execution): In example, move '%min-level'
    definition after 'use-modules'.
---
 doc/guix.texi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index feef91b..b0eba01 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]