[Top][All Lists]

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

Re: I don't understand profiles and directories

From: Ricardo Wurmus
Subject: Re: I don't understand profiles and directories
Date: Sat, 19 Jan 2019 17:27:47 +0100
User-agent: mu4e 1.0; emacs 26.1

HiPhish <address@hidden> 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/
>        export 
> GUILE_LOAD_COMPILED_PATH="/home/username/.guix-profile/lib/guile/
> 2.2/site-ccache:/home/username/.guix-profile/share/guile/site/2.2$

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

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

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


reply via email to

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