From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: 14.1 Building from Git Date: Tue, 19 Mar 2019 17:08:35 +0100 Message-ID: <871s32n8xo.fsf@elephly.net> References: <87wokwxssw.fsf@elephly.net> <87imwgx8j5.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]:60114) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6HLW-0004gM-Em for help-guix@gnu.org; Tue, 19 Mar 2019 12:12:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h6HIV-0006bt-Pn for help-guix@gnu.org; Tue, 19 Mar 2019 12:09:05 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21061) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h6HIT-0006Yy-V8 for help-guix@gnu.org; Tue, 19 Mar 2019 12:09:03 -0400 In-reply-to: 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: mikadoZero Cc: Help Guix mikadoZero writes: > I did copy the suggested exports that were output when I ran `guix > package --manifest=3Dmanifest.scm` into .zprofile and they were: I suggest to not do this and to add this snippet instead: export GUIX_PROFILE=3D"$HOME/.guix-profile" source $GUIX_PROFILE/etc/profile > I commented out all of the above export of environment variables in > .zprofile and ran `guix environment --pure guix` then ran `printenv` but > that has not changed the order. /root/.guix-profile directories are > still first. =E2=80=9Cguix environment --pure=E2=80=9D spawns a sub-shell. You need to = ensure that for sub-shells the variables are not set =E2=80=94 this is currently not the case as evidenced by printenv. I don=E2=80=99t know about what files zsh r= eads under what conditions, so I cannot recommend a way around this. You could also try to use Bash instead. -- Ricardo