(address . guix-patches@gnu.org)
To "spawns a Guile REPL", --ad-hoc is required.
* doc/guix.texi (Invoking guix environment): Add "--ad-hoc" to
container examples.
---
doc/guix.texi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Toggle diff (24 lines)
diff --git a/doc/guix.texi b/doc/guix.texi
index 3db6dad..88f4a05 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -6396,7 +6396,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}]
@@ -6410,7 +6410,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
--
2.7.4