all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: mikadoZero <mikadozero@yandex.com>
Cc: Help Guix <help-guix@gnu.org>
Subject: Re: 14.1 Building from Git
Date: Tue, 19 Mar 2019 17:08:35 +0100	[thread overview]
Message-ID: <871s32n8xo.fsf@elephly.net> (raw)
In-Reply-To: <ef72ho91.fsf@yandex.com>


mikadoZero <mikadozero@yandex.com> 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

  reply	other threads:[~2019-03-19 16:12 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-17 20:50 14.1 Building from Git mikadoZero
2019-03-18 10:08 ` Giovanni Biscuolo
2019-03-18 19:16   ` mikadoZero
2019-03-18 12:37 ` Ricardo Wurmus
2019-03-18 19:05   ` mikadoZero
2019-03-18 19:28     ` Leo Famulari
2019-03-19 15:39       ` mikadoZero
2019-03-18 19:54     ` Ricardo Wurmus
2019-03-19 15:34       ` mikadoZero
2019-03-19 16:08         ` Ricardo Wurmus [this message]
2019-03-20 21:20           ` mikadoZero
2019-03-19 19:17         ` Tobias Geerinckx-Rice
2019-03-20 21:25           ` mikadoZero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871s32n8xo.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=help-guix@gnu.org \
    --cc=mikadozero@yandex.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.