[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fixing sticky package
From: |
Ricardo Wurmus |
Subject: |
Re: fixing sticky package |
Date: |
Mon, 18 Jul 2022 10:09:21 +0200 |
User-agent: |
mu4e 1.6.11; emacs 28.1 |
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