GNU bug report logs - #58874
[PATCH] doc: Update reference to special-files-service-type.

Previous Next

Package: guix-patches;

Reported by: EuAndreh <eu <at> euandre.org>

Date: Sat, 29 Oct 2022 19:19:01 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: EuAndreh <eu <at> euandre.org>
To: guix-patches <at> gnu.org
Cc: EuAndreh <eu <at> euandre.org>
Subject: [PATCH] doc: Update reference to special-files-service-type.
Date: Fri, 28 Oct 2022 23:40:09 -0300
* doc/guix.texi (Base Services): Update what the default value of
  special-files-service-type is, which already includes /usr/bin/env,
  and the accompanying examples.
---

The code for special-files-service-type changed in
a9162155975a131afa1e6a44262afbb7af91f7fd, this is the equivalent
documentation change.

 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
-- 
2.38.0





This bug report was last modified 2 years and 199 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.