From: Josselin Poiret via Bug reports for GNU Guix <bug-guix@gnu.org>
To: "André A. Gomes" <andremegafone@gmail.com>, 69487@debbugs.gnu.org
Subject: bug#69487: Regression regarding guix shell and its "pure" flag?
Date: Sun, 03 Mar 2024 17:46:23 +0100 [thread overview]
Message-ID: <87edcrmffk.fsf@jpoiret.xyz> (raw)
In-Reply-To: <87ttlqvvff.fsf@gmail.com>
[-- 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 --]
prev parent reply other threads:[~2024-03-03 16:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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=87edcrmffk.fsf@jpoiret.xyz \
--to=bug-guix@gnu.org \
--cc=69487@debbugs.gnu.org \
--cc=andremegafone@gmail.com \
--cc=dev@jpoiret.xyz \
/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 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).