guix-devel
[Top][All Lists]
Advanced

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

Re: User-profile search paths should include system-profile directories


From: Ludovic Courtès
Subject: Re: User-profile search paths should include system-profile directories
Date: Fri, 30 Sep 2016 22:16:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Howdy,

address@hidden (Carlos Sánchez de La Lama) skribis:

>>> Making this work would need two things:
>>> 1) not stripping unexisting directories from search paths
>>> 2) constructing environment variables prepending every profile root to
>>>    the search paths of each profile.
>>>
>>> Now, my question is, why are unexisting search paths removed?
>>
>> I don’t think this is really the problem here.  The problem here is that
>> if a profile contains only, say, guile-json, there is no way Guix can
>> know about GUILE_LOAD_PATH because that variable is associated with
>> Guile itself, not with guile-json.
>
> The idea is each profile environment unconditionally adds search paths
> for all the profiles in use (which are passed when evaluating
> <profile>/etc/profile in the GUIX_PROFILES variable). This was the
> proposal in my first message (looks *similar* to an earlier post in the
> bug discussion, but it is quite different).
>
> In the case you suggest, the profile cointaining guile will define
> GUILE_LOAD_PATH to point inside its own profile and *also* inside the
> profile containing guile-json.

The problem is that, as things currently are, the profile that contains
only Guile has no reason to define GUILE_LOAD_PATH.  So I’m unsure if
this can work as is.  We’ll see!

Thanks for looking into it,
Ludo’.



reply via email to

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