From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH] doc: Add footnote about pointing ~/.config/guix/latest at user's checkout Date: Fri, 11 Mar 2016 14:41:01 +0100 Message-ID: References: <56E15AF6.5040806@zwets.com> <87egbi1aoh.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeNJY-00015H-Pi for guix-devel@gnu.org; Fri, 11 Mar 2016 08:41:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aeNJV-00041g-HG for guix-devel@gnu.org; Fri, 11 Mar 2016 08:41:12 -0500 Received: from sinope.bbbm.mdc-berlin.de ([141.80.25.23]:56251) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeNJV-00041b-8B for guix-devel@gnu.org; Fri, 11 Mar 2016 08:41:09 -0500 In-Reply-To: <87egbi1aoh.fsf@dustycloud.org> 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: Christopher Allan Webber Cc: guix-devel@gnu.org Christopher Allan Webber writes: > 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 = the cloned repository). >> >> When you update with =E2=80=9Cgit pull=E2=80=9D you=E2=80=99ll only ha= ve 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 > 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 foot= note. > --- > 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} an= d @env{GUILE_LOAD_PATH}. > Note that @command{./pre-inst-env guix pull} does @emph{not} upgrade t= he > 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 pointin= g > +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.} In the last sentence, do you miss an =E2=80=9Cas=E2=80=9D? =E2=80=9Cthis way it will always use the same @command{guix} [as] your = user does.=E2=80=9D Otherwise looks good to me. Thanks! ~~ Ricardo