guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] gnu: guile-next: Set correct native search paths.


From: Jan Nieuwenhuizen
Subject: Re: [PATCH] gnu: guile-next: Set correct native search paths.
Date: Mon, 22 Feb 2016 00:11:30 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Andy Wingo writes:

>> +    (native-search-paths
>> +     (list (search-path-specification
>> +            (variable "GUILE_LOAD_PATH")
>> +            (files '("share/guile/site/2.2")))
>> +           (search-path-specification
>> +            (variable "GUILE_LOAD_COMPILED_PATH")
>> +            (files '("lib/guile/2.0/ccache"
>> +                     "share/guile/site/2.2")))))))
>>  
>>  (define-public guile-for-guile-emacs
>>    (package (inherit guile-next)
>
> This doesn't look right to me; why is GUILE_LOAD_COMPILED_PATH pointing
> into share?  Probably need to update the pointer into lib to use 2.2,
> also.

I'm wondering... Currently when switching environments from guile to
guile-next and back, I found that I need to unset
GUILE_LOAD_COMPILED_PATH; otherwise it gets appended to and that breaks.

Why is the `2.0' and `2.2' part of the GUILE_LOAD_COMPILED_PATH?  If
guile would always append that (or also look in the directory with
MAJOR.MINOR appended), i.e. something like

     lib/guile/ccache       # GUILE_LOAD_COMPILED_PATH
     lib/guile/ccache/2.0   # guile-2.0 appends 2.0
     lib/guile/ccache/2.2   # guile-2.2 appends 2.2       

wouldn't that help a lot with picking up the right .go files when
running different versions of guile?

Greetings, Jan

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | AvatarĀ®  http://AvatarAcademy.nl  



reply via email to

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