From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yLbeAcu1DGNXHAEAbAwnHQ (envelope-from ) for ; Mon, 29 Aug 2022 14:49:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uBnIAcu1DGNibAEAauVa8A (envelope-from ) for ; Mon, 29 Aug 2022 14:49:15 +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 76C97F70C for ; Mon, 29 Aug 2022 14:49:14 +0200 (CEST) Received: from localhost ([::1]:56258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSeCX-00017X-DT for larch@yhetil.org; Mon, 29 Aug 2022 08:49:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSeCM-00015g-Fh for bug-guix@gnu.org; Mon, 29 Aug 2022 08:49:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42335) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSeCM-0000Qm-6h for bug-guix@gnu.org; Mon, 29 Aug 2022 08:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oSeCL-0005Cm-V2 for bug-guix@gnu.org; Mon, 29 Aug 2022 08:49:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#57467: [EXT] Re: bug#57467: 'guix shell' does not honor default behavior when given a specific command to run Resent-From: "Thompson, David" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 29 Aug 2022 12:49:01 +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: Maxime Devos Cc: 57467@debbugs.gnu.org Received: via spool by 57467-submit@debbugs.gnu.org id=B57467.166177731919976 (code B ref 57467); Mon, 29 Aug 2022 12:49:01 +0000 Received: (at 57467) by debbugs.gnu.org; 29 Aug 2022 12:48:39 +0000 Received: from localhost ([127.0.0.1]:60317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSeBy-0005C8-Lt for submit@debbugs.gnu.org; Mon, 29 Aug 2022 08:48:39 -0400 Received: from mail-lj1-f180.google.com ([209.85.208.180]:40757) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSeBv-0005Bt-P7 for 57467@debbugs.gnu.org; Mon, 29 Aug 2022 08:48:36 -0400 Received: by mail-lj1-f180.google.com with SMTP id w19so4957417ljj.7 for <57467@debbugs.gnu.org>; Mon, 29 Aug 2022 05:48:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=worcester-edu.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=qOxaLI/1iP3V15xqT1kc5T3F8/S219u3OjkjYbWVB5E=; b=NVkpYX6pZJvebGQpegHhuXTFImjULIPKYUFAsnrwbkeu6BWGQhw53bu6nzqQpN5NPA VSZJzljCxEzpTsdTwxt/JD60Pf1EbcncvIedipzmH9AyWLa8qMg/T89b/eLkUPI4eQzI i6zHxRanKv1I5UuvCDQ0wR+3olbkPywhOVTUlHlMZeeN9OQlONTk+xBiqeS+9f2mLveI TGoN9yjvlUeERv8cmYVkaw8qxDx9vXPcD9DNGQDU0FjnVqL3Vl/wKcsGmDcjU4tPdm9M 2jyyCBf0mJGU3n+nFfxoatCQWakwftfAIYZyGXtevzyMqBqsBynxVISYbcApn83llN1t tk4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=qOxaLI/1iP3V15xqT1kc5T3F8/S219u3OjkjYbWVB5E=; b=PdsVppcdlAWkOcTLzW2+4ZCsn1eM4QGNcyPU5YH9UXrHoTjhX4b34KYVZC6wMCZcsy 2kIdfr2lDeQPPTPS0Wbbbj4tv0v605CrFrQezvILb9CL1DhM9qiWcYoBMfnbBCB22I+H +FpZRlklt05VQTyh3s7/3+nfwAmx5qcwAORlmSvqZ2C6Xawarl90ToOl4pHX1CLoRiLh a7hzY4BWuDBZJZK3w47KwbA925bGmaONxjR7K0peZ/B435OH+FF2FztORsUPPUKunLXT MEEkkPMwJcw3aEcbuaBvyPhVJptS1pbjUBFHN0wIpK1rOOvpPuLukwzC3Sdn0GSzuVu+ 2r8g== X-Gm-Message-State: ACgBeo02Xkw2Nki3OREog8eLXw33LdK1vTVjsBqxG/3am30cSoqGQUZe y1FB7ZBfR479/K5x4APJ24AdQs0HJepIU44IcsTVBA== X-Google-Smtp-Source: AA6agR6K8Qu9itBQR8IFH8r0BLJVLDIZ5Id7kePWoQ9MuXg//j0He3gPk2zIYfs2NsOYykRh1x5Vw1fyMM8R407r5Z4= X-Received: by 2002:a2e:9799:0:b0:261:e51d:8576 with SMTP id y25-20020a2e9799000000b00261e51d8576mr6118616lji.367.1661777308648; Mon, 29 Aug 2022 05:48:28 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Thompson, David" Date: Mon, 29 Aug 2022 08:48:17 -0400 Message-ID: Content-Type: multipart/alternative; boundary="0000000000002da4e005e760aea2" 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=1661777354; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=qOxaLI/1iP3V15xqT1kc5T3F8/S219u3OjkjYbWVB5E=; b=CyWF7my3i+oXFBBw3UcoQrKoMZ/CpO7juaGQkq51fntGhHztIcxdzv/FXqRv3XH1iAkxgN AGk8QbFxVxLrD8QQoytEXogMSjwxEqCG3XkMaNp/S2vzysk+vAn1coAvCjPp/NHn7E5Fbs PFyO7VoeViGsXEOSKBLRjKpVcfZfOHajg0pP6rrnelNMifuhUKkf0LXjfOewQpG6c3ubga WBhvsFXta/wu5heXmZJpq8afgqz43I4SqIaSbMPwqFIUcL6/wPLgTeWDlwiQRmaNxNx0o/ U0VdnmVyqZjrA2lYfn8UlJA08RO1rn9nRW2D4uXEwmDwzw5RDh4Us3ZxpxTWzg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661777354; a=rsa-sha256; cv=none; b=NO5ln5T1NPgcBLlodxkBcLuSZ7Fa94yBeXWPlilqqQjvMDhLxHkFJc2VAi2wHXFcbzyX3d WfhPWy3t5ML6Kydw7ORO7tNj6FK4QU1axGAhfSVp+u5ekYZpvOQqEcWYHkqvngJRD4wFyM 6w3bfE/DFtRlghCIa4w/7kIij+NBFAYyOzWG0GHQfERDuspK6NFvKPTo8kD7mdiIweiaC4 idiU+sDu8W9NEsgHF+1XPT5+1iuCCnkrLF3XI+S36ST8nFRQnIGhf0IvR82vSeY/5M4Zjx jBeD236hHrHNfes7wM2eqrN+DzEd5voHusoOPaL4zP8DL5dXLCcapfs6cc1p1w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=worcester-edu.20210112.gappssmtp.com header.s=20210112 header.b=NVkpYX6p; dmarc=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: 1.20 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=worcester-edu.20210112.gappssmtp.com header.s=20210112 header.b=NVkpYX6p; dmarc=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: 76C97F70C X-Spam-Score: 1.20 X-Migadu-Scanner: scn1.migadu.com X-TUID: Nx4FHUHOkdpv --0000000000002da4e005e760aea2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Maxime, On Mon, Aug 29, 2022 at 6:29 AM Maxime Devos wrote= : > 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. > Simply removing a check for non-interactive invocation solves the issue a= nd > now 'guix shell' and 'guix shell -- make' act exactly the same except for > which command they run. Patch attached. > > The interactive check is a feature, not a bug: > Could you please explain why it's a feature? I've provided an example that shows how it is confusing and unexpected. > 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 i= s > the solution. > Could you propose an alternate solution? What are the next steps here? Right now all I know is that you don't like my patch. - Dave --0000000000002da4e005e760aea2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Maxime,

On Mon, Aug 29, 2022 at 6:2= 9 AM Maxime Devos <maximedevos= @telenet.be> wrote:
=20 =20 =20
=20
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 invocation solves the issue and now 'guix shell' and 'guix shell -= - make' act exactly the same except for which command they run.=C2=A0 Patch attached.

The interactive check is a feature, not a bug:

Could you please explain why it's a feature? I've provided an= example that shows how it is confusing and unexpected.

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.

Could yo= u propose an alternate solution?=C2=A0 What are the next steps here?=C2=A0 = Right now all I know is that you don't like my patch.
- Dave
--0000000000002da4e005e760aea2--