From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IJmnK+tnYGEEBgAAgWs5BA (envelope-from ) for ; Fri, 08 Oct 2021 17:46:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eJp2JutnYGFjZAAAbx9fmQ (envelope-from ) for ; Fri, 08 Oct 2021 15:46:51 +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 81B582DCE6 for ; Fri, 8 Oct 2021 17:46:50 +0200 (CEST) Received: from localhost ([::1]:51162 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYs5B-0004bi-6F for larch@yhetil.org; Fri, 08 Oct 2021 11:46:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYs4Q-0004Zm-TT for guix-patches@gnu.org; Fri, 08 Oct 2021 11:46:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40240) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYs4Q-0003uU-LF for guix-patches@gnu.org; Fri, 08 Oct 2021 11:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mYs4Q-0001UR-JN for guix-patches@gnu.org; Fri, 08 Oct 2021 11:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50960] [PATCH 00/10] Add 'guix shell' to subsume 'guix environment' Resent-From: Konrad Hinsen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Oct 2021 15:46:02 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Liliana Marie Prikler , 50960@debbugs.gnu.org Received: via spool by 50960-submit@debbugs.gnu.org id=B50960.16337079445679 (code B ref 50960); Fri, 08 Oct 2021 15:46:02 +0000 Received: (at 50960) by debbugs.gnu.org; 8 Oct 2021 15:45:44 +0000 Received: from localhost ([127.0.0.1]:51782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYs47-0001TX-TC for submit@debbugs.gnu.org; Fri, 08 Oct 2021 11:45:44 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:41907) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYs45-0001TI-Sg for 50960@debbugs.gnu.org; Fri, 08 Oct 2021 11:45:43 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 6509F5C01C6; Fri, 8 Oct 2021 11:45:36 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 08 Oct 2021 11:45:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= from:to:to:to:subject:in-reply-to:references:date:message-id :mime-version:content-type:content-transfer-encoding; s=fm1; bh= dc7XF0K73mkVUJXJ5ASCViyD6qSTrIzzKGPVK8O0qLc=; b=E/ODT1qNikGCZovi bnvs/G4ELnAxY0vGrI2z4FuUe8l6xByfEhvFfQO69a8K2arnO6UrQehb7LobVc8O WuvgFuLPUggYEurqGzSH0hKmA+HOsHFRUTenr0/I/LWyah1nJLFyA5MvLdoLSIV+ 13OvND3hqtJ+Fbjjh3fTQBmR2upcgcyky4rJ2DVsXV/yoQU0a2F3DnBsKlDyln9B Mtnrm6fGpHK5aO5BYppenHHsFo9HKPCV4DN8/LZBqgtToUwj0PlfeBgGmiYCS0Ce XJf5aMOptMcubjgScaAqYdoyLacWUIMXMc2D9HFLYak4RjNmdstCQ1LaSyC23hM4 GCWACA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=dc7XF0K73mkVUJXJ5ASCViyD6qSTrIzzKGPVK8O0q Lc=; b=h6d3eUULgSjkThT6ZK57Y2T4WPd8Y+KjiIEWFuI5+e5GDxSgoTzH8Udof d6ScANuXX09ziAeeDMwkSmyJy6WxC4Q8V4QwVB0wHpxLtD+fp4VmgpJv3Uc92otQ 2qrzXWVdxTseb5+JR6zW5KIYaAAO2rvDwW+wB7ksBl2QOBd5xRp5CPNEXfe1Yc44 RY4NZ0onzczCnE0ANGsoe2wiyCdh+DwnP2vGpqUuqtk5m6p7ugIMaI9rf9+hTnTD n0Djr6R0Cbxsb5Ugp7amGZMKaG+Kkzg71dP3XSQv7jo7wKrJ3jeI+rfzN0vsz4bm BKpYhqiKd00y0R2wB5J7qE5jNoL7Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddttddgledtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gotffhvedqqdfjughrqdfuuhhsphgvtghtqdhlohifucdlhedmnecujfgurhephffvvffv ufgjfhffkfggtgfgsehtqhertddttdejnecuhfhrohhmpefmohhnrhgrugcujfhinhhsvg hnuceokhhonhhrrggurdhhihhnshgvnhesfhgrshhtmhgrihhlrdhnvghtqeenucggtffr rghtthgvrhhnpeehveevleeftdejiedvtdduuefgveffhedtjeejiefgfefhfeejvefhud fhfeejteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehkohhnrhgrugdrhhhinhhsvghnsehfrghsthhmrghilhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 8 Oct 2021 11:45:35 -0400 (EDT) From: Konrad Hinsen In-Reply-To: <87mtnlfd2n.fsf_-_@gnu.org> References: <20211002102116.27726-1-ludo@gnu.org> <87mtnlfd2n.fsf_-_@gnu.org> Date: Fri, 08 Oct 2021 17:45:33 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=1633708011; 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: content-transfer-encoding:content-transfer-encoding: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=dc7XF0K73mkVUJXJ5ASCViyD6qSTrIzzKGPVK8O0qLc=; b=JdkMWLm1L4BYaUdEtRkQe/jCr2clKnoFINvwwzrCRMG3bIFnfOyPgSbyvp0zVXhX742bQg dn14eE7IVxD4D48LZ5U9e3iHfo0rua6f5GqYAqPB1K1bBJweSg6bJLtARudloUzoDUe20q qnoxG9eIwSMU7TxavA4qemflzt/7vZogE4AiRG2QoixpUbCegC+h0yDIWsz+oEdGoIMPCC DFhyj7DRfYXxI16cQ7qNpK0jReE4UK7lB0Kb7eiWTn/hJ1/pBc24VwicfRGbID5V6D34xM wvQGsJW3yTsShokzJxCLD/qyBcCWt5wZWsZU7UECdoE5MX4RO8GaJ0Cb4h0gew== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633708011; a=rsa-sha256; cv=none; b=FRtV3K9k/BfBVNQbYpXFJcviuOsnqYtaAO7Ny+rscfePEe07RQcJmYnNhzhzHeidoM/jLK IZDmwn/oq2d3xqQt0IaqWpdSJ2bYPIxdGsxn4+13kyE3mrN6ejcvCBzW5EGUlJ/OQznVFz zQDYDvQP0Ie1+Drp0CE4P/sGDabSmBrHOvWcGWeZRFu4YW3DkirgHHOzqIFVEgpCrOB01X 8+RW7GnYZjco32RPHs/gg/oYmbFqCXyuTevigZ10CS3yOiIeXSxffFMYIdunCxQP7iSglQ iamA6g/QwTl3xAUHITr3kJd4cyGY8oIt8FKTimmybYwOg/g8VCRhEJlxsWnLKw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fastmail.net header.s=fm1 header.b="E/ODT1qN"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=h6d3eUUL; 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: -0.31 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fastmail.net header.s=fm1 header.b="E/ODT1qN"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=h6d3eUUL; 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: 81B582DCE6 X-Spam-Score: -0.31 X-Migadu-Scanner: scn1.migadu.com X-TUID: gTacUDBuP21t Hi Ludo and Liliana, > To me it=E2=80=99s the same as =E2=80=98guix environment=E2=80=99, but wi= th a slightly different > command-line interface; =E2=80=98guix environment=E2=80=99 was already se= rves these two > use cases. Indeed, but the new proposal goes much further with supporting interactive convenience, in particular via the controversial reading of guix.scm and/or manifest.scm. That's a convenience I'd like to have interactively, but not something I expect from an infrastructure tool that ends up being used in lengthy shell script. For the latter, the "Zen of Python wisdom" of "explicit is better than implicit" matters a lot. On the command line, it makes life harder, in particular for bad typists such as myself. > Perhaps to avoid this trouble, guix shell could read a file that simply > specifies which arguments to add one line at a time e.g. > > ;; .guix-shell-rc > --manifest=3Dmanifest.scm That's a nice idea, but again something I wouldn't want an infrastructure tool to do. When I use "guix environment" or "guix shell" in a script or workflow, I want whatever it does to be as independent as possible from my machine or account, except when I explicitly say the contrary. Cheers, Konrad