From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Is it possible add 'Guix package manager without "make install"' to guix doc? Date: Sat, 23 May 2015 15:59:41 +0200 Message-ID: <87zj4ve6nm.fsf@gnu.org> References: <87k2w1tq0y.fsf@163.com> <87h9r438er.fsf@earlgrey.lan> <87egm8h8w7.fsf@gnu.org> <87egm83019.fsf@earlgrey.lan> 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]:41046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yw9xs-0003kL-AH for guix-devel@gnu.org; Sat, 23 May 2015 09:59:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yw9xp-0007xh-46 for guix-devel@gnu.org; Sat, 23 May 2015 09:59:48 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57844) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yw9xp-0007xb-10 for guix-devel@gnu.org; Sat, 23 May 2015 09:59:45 -0400 In-Reply-To: <87egm83019.fsf@earlgrey.lan> (Christopher Allan Webber's message of "Fri, 22 May 2015 14:01:36 -0500") 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 , Feng Shu Christopher Allan Webber skribis: > Ludovic Court=C3=A8s writes: [...] >> What I would like is to have a =E2=80=9CGuix Development=E2=80=9D sectio= n in the manual, >> along the lines of =E2=80=9CRunning Guix before it is installed=E2=80=9D= in =E2=80=98HACKING=E2=80=99, >> but marked as a developer=E2=80=99s trick. > > That sounds like a good idea. Done in c71979f. Comments & patches welcome! :-) >> I do not feel like explicitly inviting users to do =E2=80=9Calias >> guix=3D~/guix/pre-inst-env guix=E2=80=9D, though, because that seems a b= it hacky. >> ;-) >> >> WDYT? > > Do you have an alternative suggestion so that running guix easily in > bash is possible? Per my current blogpost, this alias is only set up > after running guix-enable. I agree it's not ideal, and am open to altern= atives. I think if we document ./pre-inst-env, then it=E2=80=99ll be clear that peo= ple can do this sort of thing. All I=E2=80=99m saying is that I=E2=80=99d rath= er not document the technique from your post in extenso because that=E2=80=99s not= very nice. I confess that, being biased as I am ;-), I don=E2=80=99t fully understand = the rationale: after all, you=E2=80=99re already installing /gnu and /usr/local/var/guix, so why is it so important to not install two more files in /usr/local/bin? But really, it=E2=80=99s just me being ignorant about the use case, so I=E2= =80=99m happy to read what people think/want. >> For the Emacs part, I think setting =E2=80=98load-path=E2=80=99, >> =E2=80=98geiser-guile-load-path=E2=80=99, and =E2=80=98guix-load-path=E2= =80=99 would be enough. Maybe >> that part of the doc needs to be adjusted? > > Does that work? I have ~/src/guix/emacs in =E2=80=98load-path=E2=80=99 and ~/src/guix in =E2=80=98geiser-guile-load-path=E2=80=99, and that=E2=80=99s all it takes, = AFAICS. Alex? Thanks for your feedback! Ludo=E2=80=99.