From e562ebc9a9e3859ecc0c1c2e8be6f39a44b5be7d Mon Sep 17 00:00:00 2001 From: Alex Vong Date: Mon, 2 Nov 2015 23:34:16 +0800 Subject: [PATCH] doc: To clarify `./pre-inst-env guix pull` won't upgrade local source tree. * doc/contributing.texi (Running Guix Before It Is Installed): To clarify `./pre-inst-env guix pull` won't upgrade local source tree and add a footnote to explain why (thanks to Alex Kost). --- doc/contributing.texi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/contributing.texi b/doc/contributing.texi index f855daf..6423d85 100644 --- a/doc/contributing.texi +++ b/doc/contributing.texi @@ -82,6 +82,12 @@ $ sudo ./pre-inst-env guix-daemon --build-users-group=guixbuild $ ./pre-inst-env guix build hello @end example +However, note that @command{./pre-inst-env guix pull} will not upgrade your +local source address@hidden@code{guix pull} fetches the latest guix source, +compiles it, put it to the store and link "~/.config/guix/latest" to it.}. +You should run @command{git pull} instead +if you want to upgrade your local source tree. + @noindent Similarly, for a Guile session using the Guix modules: -- 2.1.4