guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guile 2.2 packages


From: Danny Milosavljevic
Subject: Re: Guile 2.2 packages
Date: Wed, 7 Sep 2016 23:15:22 +0200

Hi,

On Wed, 07 Sep 2016 22:49:12 +0200
address@hidden (Ludovic Courtès) wrote:
> I don’t know.

>What you describe sounds a lot like a search path issue.

It is a search path issue.

Does package-for-guile-2.2 take it into account?

Your E-mail contains:

The following environment variable definitions may be needed:
   export PATH="foo/bin${PATH:+:}$PATH"
   export 
GUILE_LOAD_PATH="foo/share/guile/site/2.0${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"
   export 
GUILE_LOAD_COMPILED_PATH="foo/lib/guile/2.0/ccache:foo/share/guile/site/2.0${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"
   export 
GUILE_LOAD_PATH="foo/share/guile/site/2.2${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"
   export 
GUILE_LOAD_COMPILED_PATH="foo/lib/guile/2.2/ccache:foo/share/guile/site/2.2${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"

This is setting the same environment variables twice, overwriting them.

I get (for a long time already, so it's not breakage introduced by your commit 
here):

$ emacs
...
open("/home/dannym/.guix-profile/lib/guile/2.0/ccache/ice-9/eval.go", 
O_RDONLY|O_CLOEXEC) = 6
                                           ^^^
$ set |grep 2.0
...
GUILE_LOAD_COMPILED_PATH=/home/dannym/.guix-profile/lib/guile/2.0/ccache:/home/dannym/.guix-profile/share/guile/site/2.0:/run/current-system/profile/lib/guile/2.0/ccache:/run/current-system/profile/share/guile/site/2.0
GUILE_LOAD_PATH=/home/dannym/.guix-profile/share/guile/site/2.0:/run/current-system/profile/share/guile/site/2.0

$ unset GUILE_LOAD_PATH
$ export GUILE_LOAD_PATH
$ unset GUILE_LOAD_COMPILED_PATH
$ export GUILE_LOAD_COMPILED_PATH
$ emacs
<okay>

> This works well (albeit slowly):
> 
>   guix environment --ad-hoc --pure guile-emacs -- emacs -q

It does. I can do many things to make it temporarily work. But a normal user 
probably can't.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]