[PATCH 1/2] doc: Fix examples.

  • Done
  • quality assurance status badge
Details
3 participants
  • Hartmut Goebel
  • Hartmut Goebel
  • Ludovic Courtès
Owner
unassigned
Submitted by
Hartmut Goebel
Severity
normal
H
H
Hartmut Goebel wrote on 17 Mar 2017 22:11
(address . guix-patches@gnu.org)
1489785065-4848-1-git-send-email-h.goebel@crazy-compilers.com
To "spawns a Guile REPL", --ad-hoc is required.

* doc/guix.texi (Invoking guix environment): Add "--ad-hoc" to
container examples.
---
doc/guix.texi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/doc/guix.texi b/doc/guix.texi
index 3db6dad..88f4a05 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -6396,7 +6396,7 @@ home directory is accessible read-only via the @file{/exchange}
directory:
@example
-guix environment --container --expose=$HOME=/exchange guile -- guile
+guix environment --container --expose=$HOME=/exchange --ad-hoc guile -- guile
@end example
@item --share=@var{source}[=@var{target}]
@@ -6410,7 +6410,7 @@ home directory is accessible for both reading and writing via the
@file{/exchange} directory:
@example
-guix environment --container --share=$HOME=/exchange guile -- guile
+guix environment --container --share=$HOME=/exchange --ad-hoc guile -- guile
@end example
@end table
--
2.7.4
L
L
Ludovic Courtès wrote on 17 Mar 2017 23:44
(name . Hartmut Goebel)(address . h.goebel@crazy-compilers.com)(address . 26145@debbugs.gnu.org)
87d1dfcyl4.fsf@gnu.org
Hartmut Goebel <h.goebel@crazy-compilers.com> skribis:

Toggle quote (5 lines)
> To "spawns a Guile REPL", --ad-hoc is required.
>
> * doc/guix.texi (Invoking guix environment): Add "--ad-hoc" to
> container examples.

Good catch. Please push, thanks!

Ludo’.
H
H
Hartmut Goebel wrote on 18 Mar 2017 13:01
(no subject)
(address . control@debbugs.gnu.org)
58CD2195.2080101@goebel-consult.de
tag 26144 fixed
close 26144
tag 26145 fixed
close 26145
Attachment: 0xBF773B65.asc
Attachment: smime.p7s
?