diff options
| author | Alex Vong <alexvong1995@gmail.com> | 2015-11-02 23:34:16 +0800 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2015-11-03 09:56:48 +0100 |
| commit | ef54b61dc6f67712c8a448b5fb17767b6b886ba4 (patch) | |
| tree | ed7bf9070f49ad7c4a4714251bfad7a7f8b64353 /doc | |
| parent | dc57d527aee4eb18ec5fb345f90d6637bbd1a4d2 (diff) | |
doc: './pre-inst-env guix pull' won't upgrade local source tree.
* doc/contributing.texi (Running Guix Before It Is Installed): Clarify
'./pre-inst-env guix pull' won't upgrade local source tree.
* doc/guix.texi (Invoking guix pull): Mention ~/.config/guix/latest.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/contributing.texi | 5 | ||||
| -rw-r--r-- | doc/guix.texi | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/doc/contributing.texi b/doc/contributing.texi index f855daf2dab..cdc3f6d2d74 100644 --- a/doc/contributing.texi +++ b/doc/contributing.texi | |||
| @@ -116,6 +116,11 @@ $1 = 361 | |||
| 116 | The @command{pre-inst-env} script sets up all the environment variables | 116 | The @command{pre-inst-env} script sets up all the environment variables |
| 117 | necessary to support this, including @env{PATH} and @env{GUILE_LOAD_PATH}. | 117 | necessary to support this, including @env{PATH} and @env{GUILE_LOAD_PATH}. |
| 118 | 118 | ||
| 119 | Note that @command{./pre-inst-env guix pull} does @emph{not} upgrade the | ||
| 120 | local source tree; it simply updates the @file{~/.config/guix/latest} | ||
| 121 | symlink (@pxref{Invoking guix pull}). Run @command{git pull} instead if | ||
| 122 | you want to upgrade your local source tree. | ||
| 123 | |||
| 119 | 124 | ||
| 120 | @node The Perfect Setup | 125 | @node The Perfect Setup |
| 121 | @section The Perfect Setup | 126 | @section The Perfect Setup |
diff --git a/doc/guix.texi b/doc/guix.texi index 3afa496ea39..836a0b4e0e8 100644 --- a/doc/guix.texi +++ b/doc/guix.texi | |||
| @@ -1814,7 +1814,9 @@ On completion, @command{guix package} will use packages and package | |||
| 1814 | versions from this just-retrieved copy of Guix. Not only that, but all | 1814 | versions from this just-retrieved copy of Guix. Not only that, but all |
| 1815 | the Guix commands and Scheme modules will also be taken from that latest | 1815 | the Guix commands and Scheme modules will also be taken from that latest |
| 1816 | version. New @command{guix} sub-commands added by the update also | 1816 | version. New @command{guix} sub-commands added by the update also |
| 1817 | become available. | 1817 | become available@footnote{Under the hood, @command{guix pull} updates |
| 1818 | the @file{~/.config/guix/latest} symbolic link to point to the latest | ||
| 1819 | Guix, and the @command{guix} command loads code from there.}. | ||
| 1818 | 1820 | ||
| 1819 | The @command{guix pull} command is usually invoked with no arguments, | 1821 | The @command{guix pull} command is usually invoked with no arguments, |
| 1820 | but it supports the following options: | 1822 | but it supports the following options: |
