From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 MApgLmkWDGMZdwAAbAwnHQ (envelope-from ) for ; Mon, 29 Aug 2022 03:29:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8DhTLmkWDGOrUAEA9RJhRA (envelope-from ) for ; Mon, 29 Aug 2022 03:29:13 +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 C856818D for ; Mon, 29 Aug 2022 03:29:12 +0200 (CEST) Received: from localhost ([::1]:45258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSTaR-0006LX-JH for larch@yhetil.org; Sun, 28 Aug 2022 21:29:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSTaI-0006LB-SG for bug-guix@gnu.org; Sun, 28 Aug 2022 21:29:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41781) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSTaI-0003hm-Gr for bug-guix@gnu.org; Sun, 28 Aug 2022 21:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oSTaI-0004Od-20 for bug-guix@gnu.org; Sun, 28 Aug 2022 21:29: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 References: In-Reply-To: Resent-From: "Thompson, David" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 29 Aug 2022 01:29: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: 57467@debbugs.gnu.org Received: via spool by 57467-submit@debbugs.gnu.org id=B57467.166173652416873 (code B ref 57467); Mon, 29 Aug 2022 01:29:02 +0000 Received: (at 57467) by debbugs.gnu.org; 29 Aug 2022 01:28:44 +0000 Received: from localhost ([127.0.0.1]:59763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSTZz-0004O3-MZ for submit@debbugs.gnu.org; Sun, 28 Aug 2022 21:28:44 -0400 Received: from mail-lf1-f45.google.com ([209.85.167.45]:36404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSTZx-0004No-Hi for 57467@debbugs.gnu.org; Sun, 28 Aug 2022 21:28:42 -0400 Received: by mail-lf1-f45.google.com with SMTP id t23so4418581lfr.3 for <57467@debbugs.gnu.org>; Sun, 28 Aug 2022 18:28:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=worcester-edu.20210112.gappssmtp.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc; bh=vsgarjLKqNM2E5SODZDOTBph0Zc6tOV17Hkl3nv/AVY=; b=zJqqItL1WnDA7UgDQf2+KtSOszB7yeVm0y3d0YnjDNfSar9/aOaRi6jWJDqSpVmpsj Q/rq0BjqPNaqzl13FpkB0hTqP3FuXsMPos0ErHHjqWWxgUbOAxXZnZbgacq32dauCW3u 85eSZnyl9xRcmYEmxe6lksDfVKgtg0Q13ZUcBN3WWYJHlYC5RTKqWgqmeqtEwRltqI79 gOGRb1aN+wC7yDUFY4Wy9YbuCg0BYVTfB/hXcuuTUmNjlWgLCOY9f7s3y8x5ItUcQO66 MZlrQQIB1hLzumMf/QeNS1xFm5nWutdfElXNDbwG/hJYSeImdU8RHDDM4o4lrGUgt679 VUOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc; bh=vsgarjLKqNM2E5SODZDOTBph0Zc6tOV17Hkl3nv/AVY=; b=tpRVnAXYw45Uyqqs+clMlf7l9ev9nlCFtIU6y+8cg2U2868CHS/QZS4YW74YjerGqp OnJZkAxARAVd59qk0ydoFNM+me73/jmUOUhVnXe1R3IaVF/YibZoXbY7cz1buHbv4wkq 49yAUUIFxUpburvnMS0n9hrAYryeF5azD4J5wgyfWUURSG7iSKw3KhgM+6xtEtIeQ8S8 gz7J/5P+OvYx2ZcFiO5gkGoLnHijMXAWfZDmmxAMvUVq1KaKjAmkP91l65ZfJSixR94B yfH7FAeNqqpK5p5VxxXXSlZWPZwrdzXZ70TJ3YBE2ueP/QeYxQEZ0SqQzkE9ltbMrL9D RK7w== X-Gm-Message-State: ACgBeo2JVYOpHLK95V9kX4lrv3teQn4aWa8qh6tzfAfqcI8ztKPBVANQ PYcwYpNT9vCh1s5QDWN4fNRdRFOYIXIpOrM961OLCofPS6jJWw== X-Google-Smtp-Source: AA6agR40SkY41nDvbkE1TQkU8O6kJtE/OxghcyiD+UHcDT1UZe+Mv/Sv0G7NX0c5EtzmMAZcz5iznN2HHmERi2In1qs= X-Received: by 2002:a05:6512:b24:b0:494:70c4:c2a1 with SMTP id w36-20020a0565120b2400b0049470c4c2a1mr147235lfu.79.1661736514675; Sun, 28 Aug 2022 18:28:34 -0700 (PDT) MIME-Version: 1.0 From: "Thompson, David" Date: Sun, 28 Aug 2022 21:28:23 -0400 Message-ID: Content-Type: multipart/mixed; boundary="000000000000ab2f3a05e7572e9e" 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=1661736553; 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=xHZB0PwA/H5R7RkwwASvlTnjZPfhHJbBXacFTMp5CeM=; b=XazclvZVW3X14AUz7lFWwxrlMSjOaMZt/upsLo6j82jYYcEmBG9te2jUn1Fz7OKoiM912l uV1AO3dG49PrYC0Xo6LjVnBjWXKOdf8EXuhT8ymExbZBH3MBQU1vw7OHrjs1kxBoRp0OwR uwWkftS8IXRixK3OjGu3fT/tdHDkYFk3Qp0pouelPxL7NG19JLLO0ELFsY58rrE4x4Dxma 04GDOh7uWWL2eP+DfGXM1X4SrChaI9p++q1QafoBu8cvYXZ6R4eqL5hk7wePptGwZjsv5j ssXRSDuHhuuGVXzhyI1cbmwWZ3x9VPUjixxgOCdvC/PNH98hqe3x8zUb7N5Qdg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661736553; a=rsa-sha256; cv=none; b=uTSH9BR08JttRDvOJQozii1GqmYF24grG9fydo3AC/E6xkijqZsT91DEIxXLwAu9to0LVP FeGZQ/r+DGaGEnsUKznoyHqmuQuirJpFJD2wQmF5vL83WQNJzCzUieBEb73WtyjCKitiEN +2i1eik4VI7HZkDzH4Xl5nI7TtB79cu0tajeewZSI8GKKP/csun6LTi84K1cyjUQwpyS8S LVnZSUcziwYBxIbslXtuSvZyyTmpjmHsHrznCjHqw/f8g4QTvpoShk1gJOPFZeMfGnPh3M aui8NtrLTVb2DjVkNWLPlRNAQUMj1jc5p2m0iKT6wJXtG9obuMVl6kQtyrVh2w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=worcester-edu.20210112.gappssmtp.com header.s=20210112 header.b=zJqqItL1; 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: 2.30 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=worcester-edu.20210112.gappssmtp.com header.s=20210112 header.b=zJqqItL1; 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: C856818D X-Spam-Score: 2.30 X-Migadu-Scanner: scn1.migadu.com X-TUID: Z1jkHDbthJWs --000000000000ab2f3a05e7572e9e Content-Type: multipart/alternative; boundary="000000000000ab2f3805e7572e9c" --000000000000ab2f3805e7572e9c Content-Type: text/plain; charset="UTF-8" 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 and now 'guix shell' and 'guix shell -- make' act exactly the same except for which command they run. Patch attached. - Dave --000000000000ab2f3805e7572e9c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 she= ll' and 'guix shell -- make' act exactly the same except for wh= ich command they run.=C2=A0 Patch attached.

- Dave=
--000000000000ab2f3805e7572e9c-- --000000000000ab2f3a05e7572e9e Content-Type: text/x-patch; charset="US-ASCII"; name="0001-shell-Look-for-manifest.scm-guix.scm-in-non-interact.patch" Content-Disposition: attachment; filename="0001-shell-Look-for-manifest.scm-guix.scm-in-non-interact.patch" Content-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