diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2022-07-08 15:47:25 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2022-07-08 17:28:50 +0200 |
| commit | da7bee91fa8ec76e647eb1f2c488a5bc41b0ecba (patch) | |
| tree | c1e50ae4cc60a11fff4e7cded5ca564eb9ffc07d /doc | |
| parent | 3759b71dc8b175ba02bc2f87e4f426ceed342d42 (diff) | |
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.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/guix-cookbook.texi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/guix-cookbook.texi b/doc/guix-cookbook.texi index 06fb872177a..414bf76c2ff 100644 --- a/doc/guix-cookbook.texi +++ b/doc/guix-cookbook.texi | |||
| @@ -122,7 +122,7 @@ language, install it with @code{guix install guile} and start a | |||
| 122 | @dfn{REPL}---short for @uref{https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop, | 122 | @dfn{REPL}---short for @uref{https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop, |
| 123 | @dfn{read-eval-print loop}}---by running @code{guile} from the command line. | 123 | @dfn{read-eval-print loop}}---by running @code{guile} from the command line. |
| 124 | 124 | ||
| 125 | Alternatively you can also run @code{guix environment --ad-hoc guile -- guile} | 125 | Alternatively you can also run @code{guix shell guile -- guile} |
| 126 | if you'd rather not have Guile installed in your user profile. | 126 | if you'd rather not have Guile installed in your user profile. |
| 127 | 127 | ||
| 128 | In the following examples, lines show what you would type at the REPL; | 128 | 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 | |||
| 1600 | missing everything. The next step is to run: | 1600 | missing everything. The next step is to run: |
| 1601 | 1601 | ||
| 1602 | @example shell | 1602 | @example shell |
| 1603 | guix environment linux-libre -- make localmodconfig | 1603 | guix shell -D linux-libre -- make localmodconfig |
| 1604 | @end example | 1604 | @end example |
| 1605 | 1605 | ||
| 1606 | and note the output. Do note that the @file{.config} file is still empty. | 1606 | 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 | |||
| 2787 | garbage-collected. | 2787 | garbage-collected. |
| 2788 | 2788 | ||
| 2789 | @item | 2789 | @item |
| 2790 | Eventually, we set to work on that project again, so we run @code{guix environment | 2790 | Eventually, we set to work on that project again, so we run @code{guix shell |
| 2791 | -m manifest.scm}. But now we have to wait for Guix to build and install | 2791 | -m manifest.scm}. But now we have to wait for Guix to build and install |
| 2792 | stuff! | 2792 | stuff! |
| 2793 | @end enumerate | 2793 | @end enumerate |
