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>
This commit is contained in:
EuAndreh 2022-10-28 23:40:09 -03:00 committed by Christopher Baines
parent 7a4f858f39
commit 7bb3644dd0
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -17711,17 +17711,19 @@ and the second element is its target. By default it is:
@cindex @file{/bin/sh} @cindex @file{/bin/sh}
@cindex @file{sh}, in @file{/bin} @cindex @file{sh}, in @file{/bin}
@lisp @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 @end lisp
@cindex @file{/usr/bin/env} @cindex @file{/usr/bin/env}
@cindex @file{env}, in @file{/usr/bin} @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: change it to:
@lisp @lisp
`(("/bin/sh" ,(file-append bash "/bin/sh")) `(("/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 @end lisp
Since this is part of @code{%base-services}, you can use Since this is part of @code{%base-services}, you can use