From 7bb3644dd0344adb444911b4416f2f026856cb46 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 28 Oct 2022 23:40:09 -0300 Subject: [PATCH] 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 --- doc/guix.texi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 80fb3bc47fa..449049fcc87 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