guix-commits
[Top][All Lists]
Advanced

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

branch master updated: doc: Fix 'setuid-program' example.


From: guix-commits
Subject: branch master updated: doc: Fix 'setuid-program' example.
Date: Wed, 23 Feb 2022 23:16:28 -0500

This is an automated email from the git hooks/post-receive script.

apteryx pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 50311f338f doc: Fix 'setuid-program' example.
50311f338f is described below

commit 50311f338f2b68336d9197502d039fb5cf718906
Author: John Kehayias <john.kehayias@protonmail.com>
AuthorDate: Tue Feb 15 20:09:09 2022 -0500

    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>
---
 doc/guix.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 528760d7f6..2a08fa05a5 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -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



reply via email to

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