From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 12 20:58:34 2016 Received: (at submit) by debbugs.gnu.org; 13 Mar 2016 01:58:34 +0000 Received: from localhost ([127.0.0.1]:46532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aevIg-0008RA-33 for submit@debbugs.gnu.org; Sat, 12 Mar 2016 20:58:34 -0500 Received: from eggs.gnu.org ([208.118.235.92]:38660) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aevIe-0008Qx-Nt for submit@debbugs.gnu.org; Sat, 12 Mar 2016 20:58:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aevIY-0001b1-Gc for submit@debbugs.gnu.org; Sat, 12 Mar 2016 20:58:27 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HK_RANDOM_ENVFROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:42591) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aevIY-0001ax-DW for submit@debbugs.gnu.org; Sat, 12 Mar 2016 20:58:26 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aevIX-0000Nk-6D for bug-guix@gnu.org; Sat, 12 Mar 2016 20:58:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aevIS-0001a4-VQ for bug-guix@gnu.org; Sat, 12 Mar 2016 20:58:25 -0500 Received: from plane.gmane.org ([80.91.229.3]:35065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aevIS-0001Zu-PH for bug-guix@gnu.org; Sat, 12 Mar 2016 20:58:20 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aevIR-0001Zw-7G for bug-guix@gnu.org; Sun, 13 Mar 2016 02:58:19 +0100 Received: from c-73-167-118-254.hsd1.ma.comcast.net ([73.167.118.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Mar 2016 02:58:19 +0100 Received: from myglc2 by c-73-167-118-254.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Mar 2016 02:58:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-guix@gnu.org From: myglc2 Subject: Re: bug#22981: guix-edit does not find git checkout directory Date: Sat, 12 Mar 2016 21:00:29 -0500 Lines: 58 Message-ID: <8737rv2l36.fsf@gmail.com> References: <871t7iov3n.fsf@gmail.com> <87io0tnunt.fsf@gmail.com> <874mcdf4z1.fsf@gmail.com> <87egbg12gs.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-73-167-118-254.hsd1.ma.comcast.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:+16Zg622BQ8JiiVo/5eRFLwZIns= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.2 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.2 (---) Alex Kost writes: > myglc2 (2016-03-11 17:45 +0300) wrote: > >> Alex Kost writes: > [...] >>> Anyway, you can configure any directory for "M-x guix-edit" by setting >>> 'guix-directory' variable. See (info "(guix) Emacs Commands"). It is >>> not in the hmtl manual yet. >> >> But what is the _recommended_ way to do this? > > I would say the recommended way is A, as it only effects this particular > task (sets a default directory with guix packages for emacs), but this > is free software(!), you can use whatever you like and the way you want. > >> A) set 'guix-directory' variable in emacs init file? > > I set this var in my emacs config. > >> B) make symbolic link to ~/src/guix from ~/.config/guix/latest? > > Actually, I use this too, because this is one of the general solutions > to use guix from a git checkout. > >> C) something else? > > Christopher Allan Webber invented another interesting way of using guix > emacs stuff with guix from git¹: > > (setq guix-guile-program '(".../guix/pre-inst-env" "guile")) > >> And if a _new_ user starts reading in "8.1 Building from Git", how do >> they find this information? > > Since you want to use "M-x guix-edit" command, you are supposed to read > its docstring (C-h f guix-edit) or a part of the manual where it is > described. You can learn about 'guix-directory' variable from both > places. > > ¹ http://dustycloud.org/blog/guix-package-manager-without-make-install Thank you for this great summary. This list + the post you referenced make me feel better that I am taking so long to figure Guix out ;) OTOH, guix as more state-full than I had hoped ;( I suggest that you think of it this way: You are running an easter egg hunt (I hope this is an OK analogy). You have awesome eggs (No kidding, I can attest that the Guix eggs are truly awesome). When the children find the eggs they will be truly happy. But the eggs are hard to find. If the children don't find the eggs they will not be happy! Worse yet, your eggs will be wasted! So ... make it easy for children to find your eggs. You probably already thought of this: Can guix be made easier to use by converting some of the state-full guix configuration into guix recipe inputs?