From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
Received: from mp10.migadu.com ([2001:41d0:2:bcc0::])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
by ms5.migadu.com with LMTPS
id oGpwESuYDGMh1QAAbAwnHQ
(envelope-from )
for ; Mon, 29 Aug 2022 12:42:51 +0200
Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
by mp10.migadu.com with LMTPS
id IEGxECuYDGOYJQAAG6o9tA
(envelope-from )
for ; Mon, 29 Aug 2022 12:42:51 +0200
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by aspmx1.migadu.com (Postfix) with ESMTPS id 9983E179E8
for ; Mon, 29 Aug 2022 12:42:50 +0200 (CEST)
Received: from localhost ([::1]:39820 helo=lists1p.gnu.org)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1oScED-00049N-Ma
for larch@yhetil.org; Mon, 29 Aug 2022 06:42:49 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:55990)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1oSc1t-0000nh-Hd
for bug-guix@gnu.org; Mon, 29 Aug 2022 06:30:08 -0400
Received: from debbugs.gnu.org ([209.51.188.43]:42208)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1oSc1q-00007A-Lp
for bug-guix@gnu.org; Mon, 29 Aug 2022 06:30:02 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
(envelope-from ) id 1oSc1q-0007ue-GV
for bug-guix@gnu.org; Mon, 29 Aug 2022 06:30:02 -0400
X-Loop: help-debbugs@gnu.org
Subject: bug#57467: 'guix shell' does not honor default behavior when given a
specific command to run
Resent-From: Maxime Devos
Original-Sender: "Debbugs-submit"
Resent-CC: bug-guix@gnu.org
Resent-Date: Mon, 29 Aug 2022 10:30:02 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 57467
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: "Thompson, David" , 57467@debbugs.gnu.org
Received: via spool by 57467-submit@debbugs.gnu.org id=B57467.166176897730348
(code B ref 57467); Mon, 29 Aug 2022 10:30:02 +0000
Received: (at 57467) by debbugs.gnu.org; 29 Aug 2022 10:29:37 +0000
Received: from localhost ([127.0.0.1]:60187 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1oSc1R-0007tQ-Dv
for submit@debbugs.gnu.org; Mon, 29 Aug 2022 06:29:37 -0400
Received: from baptiste.telenet-ops.be ([195.130.132.51]:58536)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1oSc1P-0007tH-Nu
for 57467@debbugs.gnu.org; Mon, 29 Aug 2022 06:29:36 -0400
Received: from [IPV6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]
([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16])
by baptiste.telenet-ops.be with bizsmtp
id DNVZ2800E20ykKC01NVZjh; Mon, 29 Aug 2022 12:29:34 +0200
Message-ID:
Date: Mon, 29 Aug 2022 12:29:33 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.12.0
Content-Language: en-US
References:
From: Maxime Devos
In-Reply-To:
Content-Type: multipart/signed; micalg=pgp-sha256;
protocol="application/pgp-signature";
boundary="------------78W8bydgWrz80m4QEPpN3n6p"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
t=1661768974; bh=KvtxLOANj7r7MxXeM33kAhO63jD1rXQOmtfXh2Fz5BY=;
h=Date:Subject:To:References:From:In-Reply-To;
b=gTDkrCkSPc22saK3I8ULD73lx+eSQRV/J1U9FAuqernBFQIaimKoB2jJGC89AiAmQ
52y6hmcOdBln9VvdXMjOoDePDYpco7nuoKoNLClDPmCf6X6MbXuKEVUnljEEip5r4d
tQxeJenddaZrD6HuwANg1B4lyv6Sfy2ZeFxaaXpDwHc4bZyi5BxL70QY5DkChgtezU
WYwDlqZ0sV32eEPY3Krrm4igNg0KucTzMyYJZksHjwNNEuacYnZo5sg66YK7p7bqQ8
KIHHh/3ZXep5rKRpLKtUGOob4DudmEuFOibqzPL0wzgN0NMuubPsiIX8xeeMB6CWpL
ZeXmwOf/irY4Q==
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-guix@gnu.org
List-Id: Bug reports for GNU Guix
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org
Sender: "bug-Guix"
X-Migadu-Flow: FLOW_IN
X-Migadu-To: larch@yhetil.org
X-Migadu-Country: US
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
s=key1; t=1661769770;
h=from:from:sender:sender:reply-to:subject:subject:date:date:
message-id:message-id:to:to:cc:mime-version:mime-version:
content-type:content-type:resent-cc:resent-from:resent-sender:
resent-message-id:in-reply-to:in-reply-to:references:references:
list-id:list-help:list-unsubscribe:list-subscribe:list-post:
dkim-signature; bh=be7QP9ZxLOJcpSwTRO+D0vyJMGIpimHOCRZnl9bLgaI=;
b=JAPIcKTnzqYLYgKERb/wWmhsIasbuDlmOETEOTvXwz1UsX+2IW0JWdd49URYp8Qh8GC5jj
pFsf6ij3NTgwaKb6PS/ghT1CcnQV9t8hiCXc2c9PwYI6EoomYXyZ4AhWjXpuS6RrEHvLhA
KNppLwuZuUjZAGthsKkqIldzHSzHb2Wsgw+nDe9TWVcpIeA6IA3p+Q1TqRr4443HX5Jd1r
aRacPmK3jMUAnItSZL+GASkA8cUrpXZJjbt8ipvsFo6IskTfi6wLLWETJc3RGRiKWeBJbY
5Xt8sdgK10qGUDiPztXTQZghPak6DK5IRYhojG6Aa4DJo257v6dnX1rF0zx5BQ==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661769770; a=rsa-sha256; cv=none;
b=fB+4xpodU4KOfzuS0347YorHBu7qVaLJdx+/Rj9H7O9WjmKvpxhjkeDzrgH5iX9+ioZ8Zd
LMsGHnnPplj0TlQD+CEvQ3YPcAc/whMdnPBKG+Hde8GzGahOnmwqKNLoDa6ka6Y3mLlS77
8MR6brIuq9SXAwtpUBoqeJo4fN7MJ+V6LZeaOvPiFiiIcFjzJVdpCOXOmRrrCyDUpmngWk
uDDHNsyX7MULRSGO3K55IBwZTyqMGdSEVL2jFuJfWUB+CoUEuYLDIA+F1lU9k7SGhkHgLa
UiiebG2musJMTGpmPcZjnMnbTDDBEWp/m2NR8mxkpI4tdlFxnu2dYd/5/jgFBw==
ARC-Authentication-Results: i=1;
aspmx1.migadu.com;
dkim=fail ("body hash did not verify") header.d=telenet.be header.s=r22 header.b=gTDkrCkS;
dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none);
spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Spam-Score: 3.31
Authentication-Results: aspmx1.migadu.com;
dkim=fail ("body hash did not verify") header.d=telenet.be header.s=r22 header.b=gTDkrCkS;
dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none);
spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Queue-Id: 9983E179E8
X-Spam-Score: 3.31
X-Migadu-Scanner: scn0.migadu.com
X-TUID: FX5ks4HpIbXU
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------78W8bydgWrz80m4QEPpN3n6p
Content-Type: multipart/mixed; boundary="------------FdECwSUwFpCs2PAOOZaXGQ7J";
protected-headers="v1"
From: Maxime Devos
To: "Thompson, David" , 57467@debbugs.gnu.org
Message-ID:
Subject: Re: bug#57467: 'guix shell' does not honor default behavior when
given a specific command to run
References:
In-Reply-To:
--------------FdECwSUwFpCs2PAOOZaXGQ7J
Content-Type: multipart/mixed; boundary="------------hLTXAL0HPuLKhYpHA3Xj0d7e"
--------------hLTXAL0HPuLKhYpHA3Xj0d7e
Content-Type: multipart/alternative;
boundary="------------FfHXEkEeoyT2GIFZD8b5EaRG"
--------------FfHXEkEeoyT2GIFZD8b5EaRG
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
DQpPbiAyOS0wOC0yMDIyIDAzOjI4LCBUaG9tcHNvbiwgRGF2aWQgd3JvdGU6DQo+IEhpIGFn
YWluLA0KPg0KPiBJIGRlY2lkZWQgdG8ganVzdCBpbXBsZW1lbnQgdGhlIGZpeCBhbmQgc2Vl
IHdoYXQgcGVvcGxlIHRoaW5rIG9mIGl0LsKgIA0KPiBTaW1wbHkgcmVtb3ZpbmcgYSBjaGVj
ayBmb3Igbm9uLWludGVyYWN0aXZlIGludm9jYXRpb24gc29sdmVzIHRoZSANCj4gaXNzdWUg
YW5kIG5vdyAnZ3VpeCBzaGVsbCcgYW5kICdndWl4IHNoZWxsIC0tIG1ha2UnIGFjdCBleGFj
dGx5IHRoZSANCj4gc2FtZSBleGNlcHQgZm9yIHdoaWNoIGNvbW1hbmQgdGhleSBydW4uwqAg
UGF0Y2ggYXR0YWNoZWQuDQo+DQpUaGUgaW50ZXJhY3RpdmUgY2hlY2sgaXMgYSBmZWF0dXJl
LCBub3QgYSBidWc6DQoNCj4gaHR0cHM6Ly9pc3N1ZXMuZ3VpeC5nbnUub3JnLzUwOTYwIzY5
Og0KPiBbLi4uXQ0KPiBBZ3JlZWQuIFRoZSBhdXRvbWF0aWMgcmVhZGluZyBvZiBndWl4LnNj
bS9tYW5pZmVzdC5zY20sIGlmIHdlIGtlZXAgaXQsDQo+IHNob3VsZCBvbmx5IGhhcHBlbiBp
biBpbnRlcmFjdGl2ZSB1c2U7IEnigJlsbCBkb3VibGUtY2hlY2sgYW5kIG1ha2Ugc3VyZQ0K
PiB0aGlzIGlzIHRoZSBjYXNlLg0KSXQgbWlnaHQgc3RpbGwgYmUgcG9zc2libGUgdG8gc29s
dmUgNTc0NjcsIGJ1dCBJIGRvbid0IHRoaW5rIHRoaXMgcGF0Y2ggDQppcyB0aGUgc29sdXRp
b24uDQoNCkdyZWV0aW5ncywNCk1heGltZS4NCg0K
--------------FfHXEkEeoyT2GIFZD8b5EaRG
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
On 29-08-2022 03:28, Thompson, David
wrote:
Hi again,
I decided to just implement the fix and see what people think
of it.=C2=A0 Simply removing a check for non-interactive invocati=
on
solves the issue and now 'guix shell' and 'guix shell -- make'
act exactly the same except for which command they run.=C2=A0 Pat=
ch
attached.
The interactive check is a feature, not a bug:
https://issues.guix.gnu.org/50960#=
69:
[...]
Agreed. The automatic reading of
guix.scm/manifest.scm, if we keep it,
should only happen in interactive use; I=E2=80=
=99ll
double-check and make sure
this is the case.
It might still be possible to solve 57467, but I don't think this
patch is the solution.
Greetings,
Maxime.
--------------FfHXEkEeoyT2GIFZD8b5EaRG--
--------------hLTXAL0HPuLKhYpHA3Xj0d7e
Content-Type: application/pgp-keys; name="OpenPGP_0x49E3EE22191725EE.asc"
Content-Disposition: attachment; filename="OpenPGP_0x49E3EE22191725EE.asc"
Content-Description: OpenPGP public key
Content-Transfer-Encoding: quoted-printable
-----BEGIN PGP PUBLIC KEY BLOCK-----
xjMEX4ch6BYJKwYBBAHaRw8BAQdANPb/d6MrGnGi5HyvODCkBUJPRjiFQcRU5V+m
xvMaAa/NL01heGltZSBEZXZvcyA8bWF4aW1lLmRldm9zQHN0dWRlbnQua3VsZXV2
ZW4uYmU+wpAEExYIADgWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCX4ch6AIbAwUL
CQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRBJ4+4iGRcl7japAQC3opZ2KGWzWmRc
/gIWSu0AAcfMwyinFEEPa/QhUt2CogD/e2RdF4CYAgaRHJJmZ9WU7piKbLZ7llB4
LzgezVDHggzNJU1heGltZSBEZXZvcyA8bWF4aW1lZGV2b3NAdGVsZW5ldC5iZT7C
kAQTFggAOBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJf56ycAhsDBQsJCAcDBRUK
CQgLBRYCAwEAAh4BAheAAAoJEEnj7iIZFyXujpQBAKV1SwDDl4f24rXciDlB9L8W
ycZt30CgbewMSRQk4mvbAP9dFMbVVixYBd6C8cfhR+NsOBGiOJnQABlUmgNuqGFJ
Dc44BF+HIegSCisGAQQBl1UBBQEBB0BOlzIWiJzgobMF6/cqwLaLk7jIcFSZ++c0
k9cCNT6YXwMBCAfCeAQYFggAIBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJfhyHo
AhsMAAoJEEnj7iIZFyXuMr0BAJc8cl5PGvVmVuSQVKjleNl4DK1/XAaPAYPe34AE
fZJPAP9IqLCQhH/FeJanHqBP8gNdGNI2qn8RnnLVfRJgUjZ1BA=3D=3D
=3DOVqp
-----END PGP PUBLIC KEY BLOCK-----
--------------hLTXAL0HPuLKhYpHA3Xj0d7e--
--------------FdECwSUwFpCs2PAOOZaXGQ7J--
--------------78W8bydgWrz80m4QEPpN3n6p
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"
-----BEGIN PGP SIGNATURE-----
wnsEABYIACMWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYwyVDQUDAAAAAAAKCRBJ4+4iGRcl7qaM
AQDVtZd8Ct5Xq1AOeP9ya6Ga8jJD8Na3Hbmm/+tXWlJ3swEAjrEhNTDGVXnc7fF6Iw/eKuQ4G7Co
GZ3yiGMXFqZt5AM=
=v/Vd
-----END PGP SIGNATURE-----
--------------78W8bydgWrz80m4QEPpN3n6p--