Archived
1
0
Fork 0

doc: cookbook: Suggest 'guix shell'.

* doc/guix-cookbook.texi (A Scheme Crash Course): Suggest 'guix shell'
instead of 'guix environment'.
(Customizing the Kernel, The benefits of manifests): Likewise.
This commit is contained in:
Ludovic Courtès 2022-07-08 15:47:25 +02:00
parent 3759b71dc8
commit da7bee91fa
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -122,7 +122,7 @@ language, install it with @code{guix install guile} and start a
@dfn{REPL}---short for @uref{https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop, @dfn{REPL}---short for @uref{https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop,
@dfn{read-eval-print loop}}---by running @code{guile} from the command line. @dfn{read-eval-print loop}}---by running @code{guile} from the command line.
Alternatively you can also run @code{guix environment --ad-hoc guile -- guile} Alternatively you can also run @code{guix shell guile -- guile}
if you'd rather not have Guile installed in your user profile. if you'd rather not have Guile installed in your user profile.
In the following examples, lines show what you would type at the REPL; In the following examples, lines show what you would type at the REPL;
@ -1600,7 +1600,7 @@ letting you know what you're missing. If the file is blank then you're
missing everything. The next step is to run: missing everything. The next step is to run:
@example shell @example shell
guix environment linux-libre -- make localmodconfig guix shell -D linux-libre -- make localmodconfig
@end example @end example
and note the output. Do note that the @file{.config} file is still empty. and note the output. Do note that the @file{.config} file is still empty.
@ -2787,7 +2787,7 @@ Maybe a dependency from our manifest has been updated; or we may have run
garbage-collected. garbage-collected.
@item @item
Eventually, we set to work on that project again, so we run @code{guix environment Eventually, we set to work on that project again, so we run @code{guix shell
-m manifest.scm}. But now we have to wait for Guix to build and install -m manifest.scm}. But now we have to wait for Guix to build and install
stuff! stuff!
@end enumerate @end enumerate