From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WL0NIx9bXWG4DQEAgWs5BA (envelope-from ) for ; Wed, 06 Oct 2021 10:15:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id WPizHh9bXWF6IwAAbx9fmQ (envelope-from ) for ; Wed, 06 Oct 2021 08:15:27 +0000 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 1185212CBB for ; Wed, 6 Oct 2021 10:15:26 +0200 (CEST) Received: from localhost ([::1]:38926 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mY25E-0000pN-M9 for larch@yhetil.org; Wed, 06 Oct 2021 04:15:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY22w-0006vK-Ag for guix-patches@gnu.org; Wed, 06 Oct 2021 04:13:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59097) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mY22w-0007hB-2p for guix-patches@gnu.org; Wed, 06 Oct 2021 04:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mY22v-0002yd-OQ for guix-patches@gnu.org; Wed, 06 Oct 2021 04:13:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50960] [PATCH 00/10] Add 'guix shell' to subsume 'guix environment' References: <20211002102116.27726-1-ludo@gnu.org> In-Reply-To: <20211002102116.27726-1-ludo@gnu.org> Resent-From: Konrad Hinsen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 08:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50960 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50960@debbugs.gnu.org Received: via spool by 50960-submit@debbugs.gnu.org id=B50960.163350793911381 (code B ref 50960); Wed, 06 Oct 2021 08:13:01 +0000 Received: (at 50960) by debbugs.gnu.org; 6 Oct 2021 08:12:19 +0000 Received: from localhost ([127.0.0.1]:42410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY22F-0002xV-3j for submit@debbugs.gnu.org; Wed, 06 Oct 2021 04:12:19 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:33457) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY22D-0002xI-E0 for 50960@debbugs.gnu.org; Wed, 06 Oct 2021 04:12:18 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 0BCD85C00FE; Wed, 6 Oct 2021 04:12:12 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 06 Oct 2021 04:12:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= from:to:subject:date:message-id:mime-version:content-type; s= fm1; bh=8PWf07PNQVwqgUKio+XKTHIPkpTHxfPWUgq8jMJITm4=; b=YrPTu8/V Q88u3brc6OoXnRUQqx8qQwrycXJa2aqrp5sDA5Zx815nXObV29srmlOY4BIzuSRl aaMMDHteC5Lb0HOWlsQOUo+z1IiYocAgMr1UHSORNx6AIvlCmEKkkJJvfijT44mE q61UNIDqVQj6v+aJ4rR8D3i2y+/oltnlZh5bpobqWhrynYvp/Ru3Nd/ygMQMpFzq vNxopBxyIHHDqoARX8pQ9wAmOuzcFvGIZjf22ntmbn/8IYexkdRd0x42j+Ab/Cpr hXeV1BKqUpcawdcEo/m3fszsEbh/0N6ev2n1reJ4lgD/xUC/46Z8Wvz5YRTjfGlo gQlGkDrYN6OGqA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=8PWf07PNQVwqgUKio+XKTHIPkpTHx fPWUgq8jMJITm4=; b=P/GARlE4XahOqI/Fsi7HVR425ryTchqI5zkTzF2xJSD1X 3hBOsx1+rksHhbCY40WlbuUVxibqzNzh7+saGzSWndSKT6nHkDdpF71HD6wkr0YC p//O6utAyjCWMupwXCYNiMBhDcTYhatL1yToafVW7OdmAnLx1ET2HpNqCnWPahTC a9i4pgQwTGRcNlNapRAUC5ZQjN6psUMVl0kr9m5DO4EvIRCmy4UEy/uAC9FhG6To d+jXG3dOcfmF3YM3p1P/MY42TSgGQP558AmFoGkF8WAbCt/1M7LOGJMaCvidlLY0 h+3Mcek81sNUQ0duWVksuyWmDPUkzWUvP2biaXLwQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeliecutefuodetggdotefrodftvfcurf hrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttddttdenuc fhrhhomhepmfhonhhrrgguucfjihhnshgvnhcuoehkohhnrhgrugdrhhhinhhsvghnsehf rghsthhmrghilhdrnhgvtheqnecuggftrfgrthhtvghrnhepveefveeutdeitdettefgge ehvdduieelkefgheekheduteevheegueetueevjeehnecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepkhhonhhrrggurdhhihhnshgvnhesfhgrsh htmhgrihhlrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 6 Oct 2021 04:12:11 -0400 (EDT) From: Konrad Hinsen Date: Wed, 06 Oct 2021 10:12:10 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633508127; 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=8PWf07PNQVwqgUKio+XKTHIPkpTHxfPWUgq8jMJITm4=; b=LX8hNn+TTnPiwl7HdIDfQgNDwepPhc8dfpYz/D0DDUNuozBSsMpnIbvJ0AEW2Sw9UnwPyZ bcSXTCDV4WOpWKXxG/ln83ALU0We0WIeEuMDk7pa2OcKq6zinnP57UbsaaA8+t/J2cLZTh JbtQvxzsNVhyBDL850ME1/oC8YUPy4gXs6MCPkAy/7RCHswWG4xQ3JnoVfrDRYjUltwbdh fVV0Vk9XHr4IzstB+Z5oOZ9S/OK41uaMoIF2hnoSdK0V8/FzhHfWyatr3XfNAah6na0XwL qO7jN6Wq/mHfBdJkFwCf/S1zVG86o8aLMFOApz1MwgTvhjmhV3AUAZa1vY5MVQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633508127; a=rsa-sha256; cv=none; b=epP0brNJuTSGuVNJ+AtN6gyGPEhFb9xsv4bUNL66BS41OWThPr7CjKd9sF/AhgAbfyDG7o hdJlZq/YUHRfUVQGmz1s0W7OpEraI6kQacb0pjjZaIxatFiUahvmbK09yX52GHf0d5ld9p TdUUjGRIs5wlrJZ8OucdircxhAGVmv76CZWAG1dfTpJluFGDFpC/TxYiP08Sg6jP0w1jtF zzLAGgAUQcICXzU9I4qCXn+CY6JTGB6frfNYD96TiJtITVO9Fcvqnr1RUL4ib10gC1aF93 BHC01h75fjMYrDtUSpciWXx/ADRzqE9i+nBye01xkrlTrp+3ACYF39IYuMohCg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fastmail.net header.s=fm1 header.b="YrPTu8/V"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="P/GARlE4"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fastmail.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.31 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fastmail.net header.s=fm1 header.b="YrPTu8/V"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="P/GARlE4"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fastmail.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 1185212CBB X-Spam-Score: -1.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: AXtslFUgoA10 Hi everyone, I just discovered this discussion today... a lot to read... First of all, I very much like this proposal. It provides many improvements to today's "guix environment" for which I have immediate use cases. Looking at the proposal and then the discussion, I wonder if the main issue with "guix shell" is that it's two very different things wrapped into one: 1) A convenience utility for interactive work, in particular software development, implemented as "guix shell" with no arguments. 2) A modernized "guix environment" for both interactive and scripting use. The behavior of "guix shell" with and without arguments is sufficiently different, which will make it a challenge to document, and then a challenge for users to understand. And part of the criticism related to the tacit execution of files is about the convenience for 1) vs. the risk in 2). So... how about making this two different commands? They could of course share most of the implementation. I'd use "guix shell" for the scenario that actually starts a shell, and something different, perhaps "guix process", for the infrastructure command for use in scripts. Cheers, Konrad