HiPhish <[email protected]> writes:

> Is `$HOME/.config/guix/current` another profile?

Yes.  It is the profile that “guix pull” uses to install Guix and
nothing more than that.

>     source "$HOME/.guix-profile/etc/profile"

This sets all environment variables that Guix suggests to set when you
install packages.

>     export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"

On a foreign distro you need this, yes.

>     export XDG_DATA_DIRS="$HOME/.guix-profile/share:${XDG_DATA_DIRS}"

You don’t need this as it will be set by sourcing etc/profile if
necessary.  (Guix would have added it to etc/profile if it was required.)

>     The following environment variable definitions may be needed:
>        export PATH="/home/username/.guix-profile/bin${PATH:+:}$PATH"
>        export GUILE_LOAD_PATH="/home/username/.guix-profile/share/guile/site/
> 2.2${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"
>        export 
> GUILE_LOAD_COMPILED_PATH="/home/username/.guix-profile/lib/guile/
> 2.2/site-ccache:/home/username/.guix-profile/share/guile/site/2.2$
> {GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"

You can ignore this when you’re using Bash and you’re source’ing
$GUIX_PROFILE/etc/profile, because that file will contain all of these
recommendations.

> and running `guix --version` shows me 0.15 again.

What “guix” are you using?  What does “which guix” tell you?

--
Ricardo


Reply via email to