GNU bug report logs - #69487
Regression regarding guix shell and its "pure" flag?

Previous Next

Package: guix;

Reported by: André A. Gomes <andremegafone <at> gmail.com>

Date: Fri, 1 Mar 2024 15:15:02 UTC

Severity: normal

Done: André A. Gomes <andremegafone <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 69487 <at> debbugs.gnu.org (full text, mbox):

From: Josselin Poiret <dev <at> jpoiret.xyz>
To: André A. Gomes <andremegafone <at> gmail.com>,
 69487 <at> debbugs.gnu.org
Subject: Re: bug#69487: Regression regarding guix shell and its "pure" flag?
Date: Sun, 03 Mar 2024 17:46:23 +0100
[Message part 1 (text/plain, inline)]
Hi André

André A. Gomes <andremegafone <at> gmail.com> writes:

> Hi Guix,
>
> Take a package that you have installed in the default profile, say
> "which".  Then notice that when issuing "guix shell --pure" followed by
> "which which" replies that the command can't be found.  On the other
> hand, when starting the environment via "guix shell", the command can be
> found.
>
> If my memory isn't tricking me, the "pure" flag used to behave
> differently.  It simply started the shell with a clean env, but it still
> exposed the packages from the default profile.  Am I missing something
> or is this a regression?

No, this is `--pure` working as expected, the other behavior you
describe would be considered a bug.  Maybe you used to have the default
profile loaded through .bashrc, even though this is discouraged exactly
for that reason?

Best,
-- 
Josselin Poiret
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 1 year and 29 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.