nckx pushed a commit to branch master
in repository guix.

commit 5fec14807f027e62e1c74f8d15ce8b97fed54e58
Author: Maxime Devos <[email protected]>
AuthorDate: Sun Oct 3 20:10:24 2021 +0200

    doc: Fix 'setuid-program' example.
    
    The '#$' doesn't belong there, and will cause ‘unbound variable’ errors.
    
    Reported-By: ss2 (on IRC)
    
    * doc/guix.texi (Setuid Programs): Remove #$ from example.
    
    Signed-off-by: Tobias Geerinckx-Rice <[email protected]>
---
 doc/guix.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 423b26e..2728f34 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -32965,7 +32965,7 @@ designated like this:
 
 @example
 (setuid-program
-  (program (file-append #$shadow "/bin/passwd")))
+  (program (file-append shadow "/bin/passwd")))
 @end example
 
 @deftp {Data Type} setuid-program

Reply via email to