Danny Milosavljevic <dan...@scratchpost.org> skribis: > On Wed, 07 Sep 2016 22:49:12 +0200 > l...@gnu.org (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.
Yes, but that’s fine. However, the example I gave is ridiculous in that you can’t have guile@2 and guile-next in the same profile since you can’t have two ‘guile’ programs in the same profile. What you can do, though, is have both guile-json and guile2.2-json in the same profile. > 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 This one was fixed by Alex Kost in ca408580946d5a8be872f3da755112f5559a054d (in core-updates), and I pushed a similar fix for 2.2 in master. Hopefully that’ll solve this and similar issues. Ludo’.