summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2017-03-17 22:03:36 +0100
committerHartmut Goebel <h.goebel@crazy-compilers.com>2017-03-18 12:46:30 +0100
commitda31b9c7f636ad22e12f001350d8835477626405 (patch)
tree24c2bff274d3fe00959edb26847c880be2b34dc0 /doc
parentd54db52e7fe469612386ec15d4bf7650e9225a92 (diff)
doc: Fix examples.
To "spawns a Guile REPL", --ad-hoc is required. * doc/guix.texi (Invoking guix environment): Add "--ad-hoc" to container examples.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 7eaef06cfb..f38374385e 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -6404,7 +6404,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}]
@@ -6418,7 +6418,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