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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: André A. Gomes <andremegafone@HIDDEN>; dated Fri, 1 Mar 2024 15:15:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 69487 <at> debbugs.gnu.org:


Received: (at 69487) by debbugs.gnu.org; 3 Mar 2024 16:46:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 03 11:46:57 2024
Received: from localhost ([127.0.0.1]:41044 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rgozJ-000354-8G
	for submit <at> debbugs.gnu.org; Sun, 03 Mar 2024 11:46:57 -0500
Received: from jpoiret.xyz ([206.189.101.64]:46052)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dev@HIDDEN>) id 1rgozH-00034x-R1
 for 69487 <at> debbugs.gnu.org; Sun, 03 Mar 2024 11:46:56 -0500
Received: from authenticated-user (jpoiret.xyz [206.189.101.64])
 by jpoiret.xyz (Postfix) with ESMTPA id A3AFE185448;
 Sun,  3 Mar 2024 16:46:25 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim;
 t=1709484385;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=Vk4bXWWN25OAGyNvv0gU6PRC9QlmKss02I8w0hdzJ8U=;
 b=BGnhW0KmkkXWIlDsEZ4PpZ1b9xnZecVt7gsECuQLuHahV7+fIAhYKb6fGwRqxEwNnVRY0M
 9wz1lphVFTOF8RV/0mcJhx91BYDrhZvrPtg2m9Ti/FJhO6C82jmJ76n1R/h96JxicacrDO
 spuBnO1SVqqqUxTwE2GYP6c2Dp7FwhoN++Jepl0TlCYR4CdWbenLyUOgnE2qkNBwUnSr9g
 jBbUINeowISmBgfaF6ieSQ7n5YS11xJdDNwO8n8niqmhQlaW74TQmvB+xYbBfFMuJGsuOD
 L0lOVq3UGhzP/2yxZQ8BeW/LkseFb9uMxMX+pVpf2uJYIc5JzkmVS4ES2WAGHQ==
From: Josselin Poiret <dev@HIDDEN>
To: =?utf-8?Q?Andr=C3=A9_A=2E_Gomes?= <andremegafone@HIDDEN>,
 69487 <at> debbugs.gnu.org
Subject: Re: bug#69487: Regression regarding guix shell and its "pure" flag?
In-Reply-To: <87ttlqvvff.fsf@HIDDEN>
References: <87ttlqvvff.fsf@HIDDEN>
Date: Sun, 03 Mar 2024 17:46:23 +0100
Message-ID: <87edcrmffk.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spamd-Bar: -
Authentication-Results: jpoiret.xyz;
 auth=pass smtp.auth=jpoiret@HIDDEN smtp.mailfrom=dev@HIDDEN
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 69487
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi Andr=C3=A9

Andr=C3=A9 A. Gomes <andremegafone@HIDDEN> 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,
=2D-=20
Josselin Poiret

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQHEBAEBCAAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmXkqV8QHGRldkBqcG9p
cmV0Lnh5egAKCRBQXkC5Fhcaiv7AC/sGMRVeFbM3JP/ATd51CCibVMDSe09Py83I
SktHhCasFPGKqnaC8t98I8KjiCXD99g7GU3whRIbz/mC1gWJEgodTQak/zsI3sKO
Z8KoSuffbmcrttBYwA2D2oHJlUdaXUjI6/UcsNVJftV3io/0Gx6KJ17Ma04KSJ1F
gBw50Tu9enQP5st4cgAMTyoCvGYzwegVZf9z9QSrreflDSDG9m0EfpMkVKmQ0FMY
eO8XGxWj40mValZQIirAcdN98BPIYi4f4W8LMF+qT1H9r8DPqzGXjqQuiX+fGEMF
CjAUI+k/oUTxUozqq9GN43WWfFHDIY5r4Z7ozdbzFMPi2oW0c64VqDbuGcrg4jo7
znggX0CaV5gzDdzdNbM6NA42vxvxU31ByjovBMCqO7jmBGXLLuHaOvzmaxqfY3x2
Rn7kiG3+RtlnUjPjNyVqFPm2FIshhihuTi7BZ7v6bXXslK/JP3BdIhVtWLRntxma
s0Zkozb2IbXnVVcksbG/bU5Qu9U0JhA=
=7+9J
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#69487; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 Mar 2024 15:14:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 01 10:14:36 2024
Received: from localhost ([127.0.0.1]:37275 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rg4ao-00079V-VI
	for submit <at> debbugs.gnu.org; Fri, 01 Mar 2024 10:14:36 -0500
Received: from lists.gnu.org ([209.51.188.17]:55322)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andremegafone@HIDDEN>) id 1rg4ai-00079G-8M
 for submit <at> debbugs.gnu.org; Fri, 01 Mar 2024 10:14:33 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <andremegafone@HIDDEN>)
 id 1rg4Xy-000350-D1
 for bug-guix@HIDDEN; Fri, 01 Mar 2024 10:11:38 -0500
Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <andremegafone@HIDDEN>)
 id 1rg4Xw-00073W-Sh
 for bug-guix@HIDDEN; Fri, 01 Mar 2024 10:11:38 -0500
Received: by mail-lf1-x136.google.com with SMTP id
 2adb3069b0e04-513173e8191so2517926e87.1
 for <bug-guix@HIDDEN>; Fri, 01 Mar 2024 07:11:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1709305893; x=1709910693; darn=gnu.org;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :subject:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=OA3SJi2tMz7HS3l9YMP+5Ky154MsZhxnQKaMnwpgSVQ=;
 b=RG76+m7Acktcw+5vK51NZEzdQ46HfX+fOZiuQRL/5QsAQt+aquQJHlgUIKbP4dwNmq
 gpiZpuXh5bjfwbBPz1xCVU7sIM56OXBa4mRLTKDeMu+f5UDQvcdvOe5HnYJo5PK8xONx
 eOe7B2A2a8JhplT3zwlOFB2xirKepm8+KGa8x6PAY926p8gHIru8LxOYEkbeFz8naUZy
 0qxJ0sabGfpa0iSpt4Nv/XJ8Zz9jphn22KwBJQFIIdL9eKCQ5vjIa0JNFu9O2Qf1WMF+
 OjYg/lXP9+P75wKRyNseIAejUu533K0BMStzfai498jNljkf1P4G1YOtFhoO1RQKNLbd
 0L1g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1709305893; x=1709910693;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :subject:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=OA3SJi2tMz7HS3l9YMP+5Ky154MsZhxnQKaMnwpgSVQ=;
 b=Urz/IVzGYQEbhXXVXd3RsPixJp95Su/nk3Qv2B9701c/qbME+0R7srsP2z22C/lOqH
 QlLYRtJ2haeQ3dUM0+EcMhkXVhhavzju8YxRAkfabF/HusfuExlF8Lk8RgeLr6fMj3CE
 k8aP6aJMgT0EJ2RPxCoJX4wkOe/U4cwzoxhY8iqwz8vjNkaF4O45Uthvks8B3wgLO9Pl
 ZS6tP+qJEDP2nHivVEP4/IhYNaHYehU7cBL2rdXiC/k2QGQqZPhMbDW0KMo9ZABPPloJ
 g/yJYlOFhcw+bo9qxVylRrB6X1I+kZn45qxp2hsjVh1nGx53LYldBZql9tOn9rxUWl65
 8n+w==
X-Gm-Message-State: AOJu0YwKCw8rffCPNHL95QlznG9pLo70Zdq+6LovFUIgQwf4OHmyHMqg
 LI5+HZMwthrRfZKaRI3FDTsWFTfh0xwrEo8skOTiI1xbAe55ja6w/tpcIMss
X-Google-Smtp-Source: AGHT+IGcUoPwYUFd/l0OtUhwQxHPfADEIrleznYT7BMmZVl0TjqRcuXwCkxbpOs1V1WqJJ4kjWMwCg==
X-Received: by 2002:ac2:5495:0:b0:513:2b9e:1d92 with SMTP id
 t21-20020ac25495000000b005132b9e1d92mr1516636lfk.41.1709305893410; 
 Fri, 01 Mar 2024 07:11:33 -0800 (PST)
Received: from mini (82.131.75.21.cable.starman.ee. [82.131.75.21])
 by smtp.gmail.com with ESMTPSA id
 c41-20020a05651223a900b00513256fb6fasm631552lfv.187.2024.03.01.07.11.32
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 01 Mar 2024 07:11:32 -0800 (PST)
From: =?utf-8?Q?Andr=C3=A9_A=2E_Gomes?= <andremegafone@HIDDEN>
To: bug-guix@HIDDEN
Subject: Regression regarding guix shell and its "pure" flag?
Date: Fri, 01 Mar 2024 17:11:32 +0200
Message-ID: <87ttlqvvff.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2a00:1450:4864:20::136;
 envelope-from=andremegafone@HIDDEN; helo=mail-lf1-x136.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

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.


--=20
Andr=C3=A9 A. Gomes
"You cannot even find the ruins..."




Acknowledgement sent to André A. Gomes <andremegafone@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#69487; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 3 Mar 2024 17:00:02 UTC

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