mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05: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:
parent
d54db52e7f
commit
da31b9c7f6
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue