guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: doc: './pre-inst-env guix pull' won't upgrade local source tree.


From: Ludovic Courtès
Subject: 01/01: doc: './pre-inst-env guix pull' won't upgrade local source tree.
Date: Tue, 03 Nov 2015 08:58:14 +0000

civodul pushed a commit to branch master
in repository guix.

commit ef54b61dc6f67712c8a448b5fb17767b6b886ba4
Author: Alex Vong <address@hidden>
Date:   Mon Nov 2 23:34:16 2015 +0800

    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 <address@hidden>
---
 doc/contributing.texi |    5 +++++
 doc/guix.texi         |    4 +++-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/doc/contributing.texi b/doc/contributing.texi
index f855daf..cdc3f6d 100644
--- a/doc/contributing.texi
+++ b/doc/contributing.texi
@@ -116,6 +116,11 @@ $1 = 361
 The @command{pre-inst-env} script sets up all the environment variables
 necessary to support this, including @env{PATH} and @env{GUILE_LOAD_PATH}.
 
+Note that @command{./pre-inst-env guix pull} does @emph{not} upgrade the
+local source tree; it simply updates the @file{~/.config/guix/latest}
+symlink (@pxref{Invoking guix pull}).  Run @command{git pull} instead if
+you want to upgrade your local source tree.
+
 
 @node The Perfect Setup
 @section The Perfect Setup
diff --git a/doc/guix.texi b/doc/guix.texi
index 3afa496..836a0b4 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -1814,7 +1814,9 @@ On completion, @command{guix package} will use packages 
and package
 versions from this just-retrieved copy of Guix.  Not only that, but all
 the Guix commands and Scheme modules will also be taken from that latest
 version.  New @command{guix} sub-commands added by the update also
-become available.
+become address@hidden the hood, @command{guix pull} updates
+the @file{~/.config/guix/latest} symbolic link to point to the latest
+Guix, and the @command{guix} command loads code from there.}.
 
 The @command{guix pull} command is usually invoked with no arguments,
 but it supports the following options:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]