GNU bug report logs - #22981
guix-edit does not find git checkout directory

Previous Next

Package: guix;

Reported by: myglc2 <myglc2 <at> gmail.com>

Date: Thu, 10 Mar 2016 21:55:01 UTC

Severity: normal

Tags: notabug

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #29 received at 22981 <at> debbugs.gnu.org (full text, mbox):

From: Alex Kost <alezost <at> gmail.com>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: myglc2 <myglc2 <at> gmail.com>, 22981 <at> debbugs.gnu.org
Subject: Re: bug#22981: guix-edit does not find git checkout directory
Date: Mon, 14 Mar 2016 11:02:51 +0300
Ludovic Courtès (2016-03-14 01:01 +0300) wrote:

> myglc2 <myglc2 <at> gmail.com> 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 . "<https?://\\(debbugs\\|bugs\\)\\.gnu\\.org/\\([0-9]+\\)>")))))
>>     (custom-set-faces
>>
>>     /home/glc/.config/guix/latest’ -> ‘../../src/guix'
>>     /root/.config/guix/latest’ -> ‘/home/glc/src/GUI’
>>
>>
>> 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’s not a question of “statefulness”, 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.

-- 
Alex




This bug report was last modified 9 years and 56 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.