guix-devel
[Top][All Lists]
Advanced

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

[PATCH] doc: Add footnote about pointing ~/.config/guix/latest at user's


From: Christopher Allan Webber
Subject: [PATCH] doc: Add footnote about pointing ~/.config/guix/latest at user's checkout
Date: Thu, 10 Mar 2016 09:53:50 -0800
User-agent: mu4e 0.9.13; emacs 24.5.1

Ricardo Wurmus writes:

> You can create a link “~/.config/guix/latest” pointing to, say,
> “~/dev/guix” (if that’s the directory holding the cloned repository).
>
> When you update with “git pull” you’ll only have to download recent
> changes, not the whole Guix code.

This is a nice feature that few people know about.  I figured it might
be nice to document it.  Here's a patch that attempts to do so!

>From 96a7b39ae17f5628bdebec95630af722e1b11561 Mon Sep 17 00:00:00 2001
From: Christopher Allan Webber <address@hidden>
Date: Thu, 10 Mar 2016 09:52:18 -0800
Subject: [PATCH] doc: Add footnote about pointing ~/.config/guix/latest at
 user's checkout

* doc/contributing.texi (Running Guix Before It Is Installed): New footnote.
---
 doc/contributing.texi | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/doc/contributing.texi b/doc/contributing.texi
index 3dbd3db..2e13ee3 100644
--- a/doc/contributing.texi
+++ b/doc/contributing.texi
@@ -140,7 +140,13 @@ 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.
+you want to upgrade your local source address@hidden you would like
+to set up @command{guix} to use your git checkout, you can point the
address@hidden/.config/guix/latest} symlink to your git checkout directory.
+If you are the sole user of your system, you may also consider pointing
+the @file{/root/.config/guix/latest} symlink to point to
address@hidden/.config/guix/latest}; this way it will always use the same
address@hidden your user does.}
 
 
 @node The Perfect Setup
-- 
2.6.3


reply via email to

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