From mboxrd@z Thu Jan 1 00:00:00 1970 From: mikadoZero Subject: Re: 14.1 Building from Git Date: Wed, 20 Mar 2019 17:20:02 -0400 Message-ID: References: <87wokwxssw.fsf@elephly.net> <87imwgx8j5.fsf@elephly.net> <871s32n8xo.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]:53617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6idj-0007gD-OI for help-guix@gnu.org; Wed, 20 Mar 2019 17:20:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h6idi-0004Q8-Ud for help-guix@gnu.org; Wed, 20 Mar 2019 17:20:47 -0400 Received: from forward104p.mail.yandex.net ([77.88.28.107]:39875) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h6idi-0004NZ-5C for help-guix@gnu.org; Wed, 20 Mar 2019 17:20:46 -0400 In-reply-to: <871s32n8xo.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: Ricardo Wurmus Cc: Help Guix Ricardo Wurmus writes: > 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 > It is now in my .bash_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 t= o 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= reads > under what conditions, so I cannot recommend a way around this. > > You could also try to use Bash instead. Thank you I have been able to switch my non root users shell from zsh to bash. Now with a user that has a bash shell I am able to continue on using the contributing section of the manual as a guide and can do: bootstrap, configure, `./pre-inst-env guix lint package-name` and `./pre-inst-env guix build --rounds=3D4 package-name`.