3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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

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