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
|
@ -6404,7 +6404,7 @@ home directory is accessible read-only via the @file{/exchange}
|
||||||
directory:
|
directory:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
guix environment --container --expose=$HOME=/exchange guile -- guile
|
guix environment --container --expose=$HOME=/exchange --ad-hoc guile -- guile
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@item --share=@var{source}[=@var{target}]
|
@item --share=@var{source}[=@var{target}]
|
||||||
|
@ -6418,7 +6418,7 @@ home directory is accessible for both reading and writing via the
|
||||||
@file{/exchange} directory:
|
@file{/exchange} directory:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
guix environment --container --share=$HOME=/exchange guile -- guile
|
guix environment --container --share=$HOME=/exchange --ad-hoc guile -- guile
|
||||||
@end example
|
@end example
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue