Mathieu Lirzin (2015-07-28 00:48 +0300) wrote:

> * guix/config.scm.in (%prefix, %guile-module-dir): New variables.
> * emacs/guix-helper.scm.in: Rename to ...
> * emacs/guix-helper.scm: ... this.  New file.  Use them.
> * .gitignore, configure.ac: Adjust accordingly.

I'm not sure about this patch.  See
<http://lists.gnu.org/archive/html/guix-devel/2014-08/msg00164.html>
(search for "guix-helper" there).

It may not be reliable to use other guix modules in
"emacs/guix-helper.scm" (or in "scripts/guix") because the path of guix
modules may not be in guile %load-path.  The main purpose of these files
("emacs/guix-helper.scm" and "scripts/guix") is augmenting %load-path
and %load-compiled-path, so that guix modules could be used later on.

So if (for some strange reason) guile will not know where to find guix
modules, Geiser REPL will not be started as (guix config) module will be
missing.

-- 
Alex

Reply via email to