doc: Fix 'setuid-program' example.

%setuid-programs was previously moved to be in the list sexp instead of just
the append one. This causes an "invalid G-expression input" error.

Error reported by: Kolev on #guix.

* doc/guix.texi (Setuid Programs): Move %setuid-programs out to the append
sexp.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
John Kehayias 2022-02-15 20:09:09 -05:00 committed by Maxim Cournoyer
parent 3609dcd200
commit 50311f338f
No known key found for this signature in database
GPG Key ID: 1260E46482E63562

View File

@ -34592,8 +34592,8 @@ previous example to your operating system declaration by appending it to
;; Some fields omitted...
(setuid-programs
(append (list (setuid-program
(program (file-append nfs-utils "/sbin/mount.nfs")))
%setuid-programs))))
(program (file-append nfs-utils "/sbin/mount.nfs"))))
%setuid-programs)))
@end lisp
@deftp {Data Type} setuid-program