From mboxrd@z Thu Jan 1 00:00:00 1970 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 Message-ID: <87egbi1aoh.fsf@dustycloud.org> References: <56E15AF6.5040806@zwets.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ae4mY-0001H6-GV for guix-devel@gnu.org; Thu, 10 Mar 2016 12:53:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ae4mX-0001TF-Ew for guix-devel@gnu.org; Thu, 10 Mar 2016 12:53:54 -0500 Received: from dustycloud.org ([2600:3c02::f03c:91ff:feae:cb51]:57830) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ae4mX-0001Sq-A4 for guix-devel@gnu.org; Thu, 10 Mar 2016 12:53:53 -0500 In-reply-to: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ricardo Wurmus Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ricardo Wurmus writes: > You can create a link =E2=80=9C~/.config/guix/latest=E2=80=9D pointing = to, say, > =E2=80=9C~/dev/guix=E2=80=9D (if that=E2=80=99s the directory holding t= he cloned repository). > > When you update with =E2=80=9Cgit pull=E2=80=9D you=E2=80=99ll only hav= e 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! --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-doc-Add-footnote-about-pointing-.config-guix-latest-.patch >From 96a7b39ae17f5628bdebec95630af722e1b11561 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber 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 tree.@footnote{If you would like +to set up @command{guix} to use your git checkout, you can point the +@file{~/.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 +@file{~/.config/guix/latest}; this way it will always use the same +@command{guix} your user does.} @node The Perfect Setup -- 2.6.3 --=-=-=--