From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: bug#22981: guix-edit does not find git checkout directory Date: Mon, 14 Mar 2016 11:02:51 +0300 Message-ID: <874mc9trkk.fsf@gmail.com> References: <871t7iov3n.fsf@gmail.com> <87io0tnunt.fsf@gmail.com> <874mcdf4z1.fsf@gmail.com> <87egbg12gs.fsf@gmail.com> <8737rv2l36.fsf@gmail.com> <87k2l6yaxg.fsf@gmail.com> <87r3fetmen.fsf@gmail.com> <87lh5muje0.fsf@gnu.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]:56465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afNT0-0002a0-FA for bug-guix@gnu.org; Mon, 14 Mar 2016 04:03:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afNSw-0007OF-Ez for bug-guix@gnu.org; Mon, 14 Mar 2016 04:03:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:50260) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afNSw-0007OB-BX for bug-guix@gnu.org; Mon, 14 Mar 2016 04:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1afNSw-0004b8-5E for bug-guix@gnu.org; Mon, 14 Mar 2016 04:03:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87lh5muje0.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 13 Mar 2016 23:01:59 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: myglc2 , 22981@debbugs.gnu.org Ludovic Court=C3=A8s (2016-03-14 01:01 +0300) wrote: > myglc2 skribis: > >> Guix is "stateful" because, to use a git checkout, I have to set "state" >> variables like ... >> >> (setq guix-directory "/home/glc/src/guix") >> >> (let ((dir "~/dev/guix/emacs")) >> (add-to-list 'load-path dir) >> (setq guix-load-path dir) >> (require 'guix-init nil t)) >> >> '(safe-local-variable-values >> (quote >> ((bug-reference-bug-regexp . ""))))) >> (custom-set-faces >> >> /home/glc/.config/guix/latest=E2=80=99 -> =E2=80=98../../src/guix' >> /root/.config/guix/latest=E2=80=99 -> =E2=80=98/home/glc/src/GUI=E2= =80=99 >> >> >> Guix would be less stateful (AKA more "stateless") if instead I could >> put something like ... >> >> (guix >> (#:use-git #t) >> (#:git-directory:"~/src/guix")) > > It seems to me that it=E2=80=99s not a question of =E2=80=9Cstatefulness= =E2=80=9D, but rather a > question of how much configuration is needed to have guix.el use the > Guix that you want. I agree. If someone want to use a "non-installed" software, (s)he has to do some additional configuration. I don't see how to reduce such a configuration to set up emacs code from a guix git checkout. --=20 Alex