summary refs log tree commit diff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-10-28 23:40:09 -0300
committerChristopher Baines <mail@cbaines.net>2022-11-03 17:32:34 +0100
commit7bb3644dd0344adb444911b4416f2f026856cb46 (patch)
treebfa85377efe8adc9379b391afb547223e59d0c81
parent7a4f858f3922814adfbbc257440e0b15f54a58a9 (diff)
downloadguix-7bb3644dd0344adb444911b4416f2f026856cb46.tar.gz
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>
-rw-r--r--doc/guix.texi8
1 files 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