unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#69487: Regression regarding guix shell and its "pure" flag?
@ 2024-03-01 15:11 André A. Gomes
  2024-03-03 16:46 ` Josselin Poiret via Bug reports for GNU Guix
  0 siblings, 1 reply; 2+ messages in thread
From: André A. Gomes @ 2024-03-01 15:11 UTC (permalink / raw)
  To: 69487

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?

Thanks.


-- 
André A. Gomes
"You cannot even find the ruins..."




^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#69487: Regression regarding guix shell and its "pure" flag?
  2024-03-01 15:11 bug#69487: Regression regarding guix shell and its "pure" flag? André A. Gomes
@ 2024-03-03 16:46 ` Josselin Poiret via Bug reports for GNU Guix
  0 siblings, 0 replies; 2+ messages in thread
From: Josselin Poiret via Bug reports for GNU Guix @ 2024-03-03 16:46 UTC (permalink / raw)
  To: André A. Gomes, 69487

[-- Attachment #1: Type: text/plain, Size: 894 bytes --]

Hi André

André A. Gomes <andremegafone@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-03 16:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-01 15:11 bug#69487: Regression regarding guix shell and its "pure" flag? André A. Gomes
2024-03-03 16:46 ` Josselin Poiret via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

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

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).