Subject: Re: bug#22981: guix-edit does not find git checkout directory

From: [email-masked] (Ludovic Courtès)
Date: Sun, 13 Mar 2016 23:01:59 +0100

myglc2 <[email-masked]> 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.

Ludo’.