[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 14.1 Building from Git
From: |
Ricardo Wurmus |
Subject: |
Re: 14.1 Building from Git |
Date: |
Tue, 19 Mar 2019 17:08:35 +0100 |
User-agent: |
mu4e 1.0; emacs 26.1 |
mikadoZero <address@hidden> writes:
> I did copy the suggested exports that were output when I ran `guix
> package --manifest=manifest.scm` into .zprofile and they were:
I suggest to not do this and to add this snippet instead:
export GUIX_PROFILE="$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.
“guix environment --pure” spawns a sub-shell. You need to ensure that
for sub-shells the variables are not set — this is currently not the
case as evidenced by printenv. I don’t 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.
--
Ricardo