Browse Source

doc: Tweak mcron example.

* doc/guix.texi (Scheduled Job Execution): In example, move '%min-level'
definition after 'use-modules'.
gn-latest-20200725
Ludovic Courtès 8 months ago
parent
commit
9e0d896bf3
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      doc/guix.texi

+ 3
- 1
doc/guix.texi 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


Loading…
Cancel
Save