unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: "András Vöröskői" <voroskoi@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: fixing sticky package
Date: Mon, 18 Jul 2022 10:09:21 +0200	[thread overview]
Message-ID: <87wncau9ft.fsf@elephly.net> (raw)
In-Reply-To: <CALxLQm_bWDiPJFckAMYdhcFrGdFOWOgRoUp7y9Kzo27aG+hOXQ@mail.gmail.com>


Hi András,

> I have done something like this:
> 1. I have zig@0.10 installed in my profile.
> 2. Started a guix shell -m guix.scm which has zig@0.9
> 3. Run zig version and it reported 0.10.0

What does your ~/.bashrc look like?
What does “guix shell --check” say?

> However when I run `which zig` it finds `zig` in /gnu/store.

This indicates that GUIX_PROFILE was not set when the environment
variables in etc/profile were set.  When GUIX_PROFILE is set the
environment variables are set relative to the location it specifies;
when it is not set the /gnu/store locations will be used, which is
rarely what you want.

-- 
Ricardo


  reply	other threads:[~2022-07-18  8:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-18  7:51 fixing sticky package András Vöröskői
2022-07-18  8:09 ` Ricardo Wurmus [this message]
2022-07-18  8:19   ` András Vöröskői
2022-07-18  9:53     ` Ricardo Wurmus
2022-07-24 14:33       ` András Vöröskői
2022-07-18 10:01 ` Csepp

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87wncau9ft.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=help-guix@gnu.org \
    --cc=voroskoi@gmail.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).