unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Kenan Toker <kenan@kdtsh.net>
To: Julien Lepiller <julien@lepiller.eu>, help-guix@gnu.org
Subject: Re: Profile sourcing and $GUIX_PROFILE when using guix home
Date: Fri, 1 Oct 2021 09:04:23 +1000	[thread overview]
Message-ID: <b2dd662a-295e-a6fd-2964-26fb932802bf@kdtsh.net> (raw)
In-Reply-To: <8E8F363C-9043-4CC0-B07C-8F0C072157A1@lepiller.eu>

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	other threads:[~2021-10-01  2:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-29 13:10 Profile sourcing and $GUIX_PROFILE when using guix home Kenan Toker
2021-09-29 15:15 ` Julien Lepiller
2021-09-30 23:04   ` Kenan Toker [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b2dd662a-295e-a6fd-2964-26fb932802bf@kdtsh.net \
    --to=kenan@kdtsh.net \
    --cc=help-guix@gnu.org \
    --cc=julien@lepiller.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).