help-guix
[Top][All Lists]
Advanced

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

Re: Profile sourcing and $GUIX_PROFILE when using guix home


From: Kenan Toker
Subject: Re: Profile sourcing and $GUIX_PROFILE when using guix home
Date: Fri, 1 Oct 2021 09:04:23 +1000

That all makes an awful lot of sense ... thanks a lot  Julien :-)

On 30/9/21 01:15, Julien Lepiller wrote:
GUIX_PROFILE is not used by guix ittelf, it's only a convenience variable 
that's set just before sourcing said profile.

On a foreign distro, you'll find the code that loads your profile in 
/etc/profile.d/guix.sh

On the guix system, it's /etc/profile directly.

In addition, you might have some code in ~/.profile or ~/.bash_profile.

As you can see, GUIX_PROFILE's value changes multiple times, which explains why 
multiple profiles are loaded in the environment.



reply via email to

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