From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: I don't understand profiles and directories Date: Sat, 19 Jan 2019 17:27:47 +0100 Message-ID: <874la4fw8s.fsf@elephly.net> References: <5333814.JLzRfVLkOs@aleksandar-ixtreme-m5740> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:34433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gktTy-0003AO-2b for help-guix@gnu.org; Sat, 19 Jan 2019 11:28:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gktTw-00052D-2x for help-guix@gnu.org; Sat, 19 Jan 2019 11:28:30 -0500 Received: from sender-of-o53.zoho.com ([135.84.80.218]:21780) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gktTt-0004rN-MT for help-guix@gnu.org; Sat, 19 Jan 2019 11:28:26 -0500 In-reply-to: <5333814.JLzRfVLkOs@aleksandar-ixtreme-m5740> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: HiPhish Cc: help-guix@gnu.org HiPhish writes: > Is `$HOME/.config/guix/current` another profile? Yes. It is the profile that =E2=80=9Cguix pull=E2=80=9D uses to install Gu= ix 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=3D"$HOME/.guix-profile/lib/locale" On a foreign distro you need this, yes. > export XDG_DATA_DIRS=3D"$HOME/.guix-profile/share:${XDG_DATA_DIRS}" You don=E2=80=99t 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=3D"/home/username/.guix-profile/bin${PATH:+:}$PATH" > export GUILE_LOAD_PATH=3D"/home/username/.guix-profile/share/guile= /site/ > 2.2${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH" > export GUILE_LOAD_COMPILED_PATH=3D"/home/username/.guix-profile/li= b/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=E2=80=99re using Bash and you=E2=80=99re sourc= e=E2=80=99ing $GUIX_PROFILE/etc/profile, because that file will contain all of these recommendations. > and running `guix --version` shows me 0.15 again. What =E2=80=9Cguix=E2=80=9D are you using? What does =E2=80=9Cwhich guix= =E2=80=9D tell you? -- Ricardo