From mboxrd@z Thu Jan 1 00:00:00 1970 From: HiPhish Subject: Re: I don't understand profiles and directories Date: Sat, 19 Jan 2019 18:55:33 +0100 Message-ID: <5645159.Nm1EbChBH9@aleksandar-ixtreme-m5740> References: <5333814.JLzRfVLkOs@aleksandar-ixtreme-m5740> <2015239.4T21D1mT5N@aleksandar-ixtreme-m5740> <8736pofuio.fsf@elephly.net> 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]:55164) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkuqI-0003i2-Ii for help-guix@gnu.org; Sat, 19 Jan 2019 12:55:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gkuqH-0006LQ-Fl for help-guix@gnu.org; Sat, 19 Jan 2019 12:55:38 -0500 Received: from mout02.posteo.de ([185.67.36.66]:46561) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gkuqG-0006J4-Vg for help-guix@gnu.org; Sat, 19 Jan 2019 12:55:37 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 7FDF72400E6 for ; Sat, 19 Jan 2019 18:55:34 +0100 (CET) In-Reply-To: <8736pofuio.fsf@elephly.net> 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: help-guix@gnu.org On Saturday, 19 January 2019 18:05:03 CET you wrote: > I don=E2=80=99t think so. It should print a file name. The message must have cut off, there was a full file path into `/gnu/ store/...`. > > Should I change my `.profile` file to be like this instead? > >=20 > > source "$HOME/.guix-profile/etc/profile" > > export GUIX_LOCPATH=3D"$HOME/.guix-profile/lib/locale" > > export PATH=3D"$HOME/.config/guix/current/bin:$PATH" > > export INFOPATH=3D"$HOME/.config/guix/current/share/info:$INFOPATH" > >=20 > > I.e. first source the Guix profile, which will add itself to the `$PATH= `, > > and then add the path to the other profile. >=20 > Yes. OK, now it seems to work. Just to re-iterate, the Guix binary I'm going to= =20 invoke from the command line (`guix`) comes from this profile `~/.config/gu= ix/ current/`, while all my packages are in the `~/.guix-profile` profile, corr= ect?=20 This means that the Guix binary from `~/.config/guix/current/` shadows the = one=20 from `~/.guix-profile`. My complete `~/.profile` file now contains source "$HOME/.guix-profile/etc/profile" export GUIX_LOCPATH=3D"$HOME/.guix-profile/lib/locale" export PATH=3D"$HOME/.config/guix/current/bin:$PATH" export INFOPATH=3D"$HOME/.config/guix/current/share/info:$INFOPATH" # SSL certificates (after installing 'nss-certs') export SSL_CERT_DIR=3D"$HOME/.guix-profile/etc/ssl/certs" export SSL_CERT_FILE=3D"$HOME/.guix-profile/etc/ssl/certs/ca-certificat= es.crt" export GIT_SSL_CAINFO=3D"$SSL_CERT_FILE" and `which guix` prints /home/username/.config/guix/current/bin/guix