doc: Fix examples.

To "spawns a Guile REPL", --ad-hoc is required.

* doc/guix.texi (Invoking guix environment): Add "--ad-hoc" to
  container examples.
This commit is contained in:
Hartmut Goebel 2017-03-17 22:03:36 +01:00
parent d54db52e7f
commit da31b9c7f6
No known key found for this signature in database
GPG Key ID: 634A8DFFD3F631DF
1 changed files with 2 additions and 2 deletions

View File

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