guix-commits
[Top][All Lists]
Advanced

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

02/06: doc: Change example for special-files-service-type.


From: guix-commits
Subject: 02/06: doc: Change example for special-files-service-type.
Date: Thu, 3 Nov 2022 12:41:35 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit 7bb3644dd0344adb444911b4416f2f026856cb46
Author: EuAndreh <eu@euandre.org>
AuthorDate: Fri Oct 28 23:40:09 2022 -0300

    doc: Change example for special-files-service-type.
    
    Also update the default value given in the docs. Change the example since 
the
    base system includes /usr/bin/env by default.
    
    * doc/guix.texi (Base Services): Change the example for
    special-files-service-type and update default.
    
    Signed-off-by: Christopher Baines <mail@cbaines.net>
---
 doc/guix.texi | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 80fb3bc47f..449049fcc8 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -17711,17 +17711,19 @@ and the second element is its target.  By default it 
is:
 @cindex @file{/bin/sh}
 @cindex @file{sh}, in @file{/bin}
 @lisp
-`(("/bin/sh" ,(file-append bash "/bin/sh")))
+`(("/bin/sh" ,(file-append bash "/bin/sh"))
+  ("/usr/bin/env" ,(file-append coreutils "/bin/env")))
 @end lisp
 
 @cindex @file{/usr/bin/env}
 @cindex @file{env}, in @file{/usr/bin}
-If you want to add, say, @code{/usr/bin/env} to your system, you can
+If you want to add, say, @code{/bin/bash} to your system, you can
 change it to:
 
 @lisp
 `(("/bin/sh" ,(file-append bash "/bin/sh"))
-  ("/usr/bin/env" ,(file-append coreutils "/bin/env")))
+  ("/usr/bin/env" ,(file-append coreutils "/bin/env"))
+  ("/bin/bash" ,(file-append bash "/bin/bash")))
 @end lisp
 
 Since this is part of @code{%base-services}, you can use



reply via email to

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