From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id upAiCMVIYWFVWQAAgWs5BA (envelope-from ) for ; Sat, 09 Oct 2021 09:46:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id ADxnAsVIYWE1GgAAB5/wlQ (envelope-from ) for ; Sat, 09 Oct 2021 07:46:13 +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 ACC3311F37 for ; Sat, 9 Oct 2021 09:46:12 +0200 (CEST) Received: from localhost ([::1]:40290 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZ73b-0003cb-9D for larch@yhetil.org; Sat, 09 Oct 2021 03:46:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43092) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZ73S-0003bu-Bv for guix-patches@gnu.org; Sat, 09 Oct 2021 03:46:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40708) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mZ73S-0006oT-44 for guix-patches@gnu.org; Sat, 09 Oct 2021 03:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mZ73S-0006pV-0a for guix-patches@gnu.org; Sat, 09 Oct 2021 03:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50960] [PATCH 00/10] Add 'guix shell' to subsume 'guix environment' Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 09 Oct 2021 07:46: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: Konrad Hinsen , Ludovic =?UTF-8?Q?Court=C3=A8s?= , 50960@debbugs.gnu.org Received: via spool by 50960-submit@debbugs.gnu.org id=B50960.163376554126228 (code B ref 50960); Sat, 09 Oct 2021 07:46:01 +0000 Received: (at 50960) by debbugs.gnu.org; 9 Oct 2021 07:45:41 +0000 Received: from localhost ([127.0.0.1]:52254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZ737-0006oy-Dr for submit@debbugs.gnu.org; Sat, 09 Oct 2021 03:45:41 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:41935) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZ735-0006oj-MA for 50960@debbugs.gnu.org; Sat, 09 Oct 2021 03:45:40 -0400 Received: by mail-wr1-f68.google.com with SMTP id t2so36616731wrb.8 for <50960@debbugs.gnu.org>; Sat, 09 Oct 2021 00:45:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=/Z703v8jZvDgAWaLnxF5Cv0R9hJ/gzn5I547PTcQ8VY=; b=i9bHcLzjkjb7K72rmPuwDV6QL6eCnKiyVBvgT9M2P6iprOYHDHpDtnwHsz32hqJBOh rkxH6YVpAlWBVDmwEAmPodefaPVcLMEn1uxBtvroXE2B1Yd50egMyhBQnGPnaksb3lu0 Bi6/B3we9Li3/aRPMBZxuxV6orlwst9az+KUq1qGAoOfgh/uBskSiRRyZQ4pYr04ks34 86++SPtb23RQ3ck4bttTDhCemVAWSBh3a2sLZqnWOy5+ceD+BbVlbdFa/XaACmJHY21M o2yiJFglzAmJQGTpWZm+ZEJg2BYIaAzmH8tExu08t2XrKeu5LVcEIEYsH//oh57p69+4 vcKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=/Z703v8jZvDgAWaLnxF5Cv0R9hJ/gzn5I547PTcQ8VY=; b=wpcXccSpMDlQ+TO2bOnpgwNN8nlV8Bkkz7nANDZQL5Qilr/+Oz7uhlAmZurI36Q7SC Hcj5N8Go6aOPKQ3CzWYQTpNxS38/WIssOzT+WMZ5+GOymOD2w3+qmoug8Yk/CojagXqw 5s0m01smR9eJsgh08boXPgOruFxi2n/In5d+j4ywHxW+By5UP32P3+nZmFBJTPcfht3B K/8khq+9cu7+vvrDtXcqph9HyuVHr+WSPGichSY26blQGWPstxftW7IxvYDO7Z+mRaON Q360yBKRxM2sERr3+y/lnV1IbHV2uAQVjZJ0MLlQFo75CGGLxlc5YZ8STR+zGiHoFlrx QDfA== X-Gm-Message-State: AOAM531QWGuZQeXsOeXwMRuzqT8aC1RHtu0bJnvZZ6JK3vB9iupgr4mz ySCtcVE9q4j2i38UcoXJjgE= X-Google-Smtp-Source: ABdhPJy+gYQlVkACxGVcogxehPAX1n1wiT+anlbnEDIxTlbnX5bL71uBvswYeeBQsr3m5dUT6irTXg== X-Received: by 2002:a05:600c:4f87:: with SMTP id n7mr8288522wmq.194.1633765533569; Sat, 09 Oct 2021 00:45:33 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id g2sm1476429wrq.62.2021.10.09.00.45.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Oct 2021 00:45:33 -0700 (PDT) Message-ID: From: Liliana Marie Prikler Date: Sat, 09 Oct 2021 09:45:31 +0200 In-Reply-To: References: <20211002102116.27726-1-ludo@gnu.org> <87mtnlfd2n.fsf_-_@gnu.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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=1633765572; 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=/Z703v8jZvDgAWaLnxF5Cv0R9hJ/gzn5I547PTcQ8VY=; b=FD/V/QvVSOtLhRFV9U7eyew2VtG44YhlHpX/8OYqaU9WTTLxShupYLhubwxRzovARPvdf+ Xq6AnQb0/05RPczLUFq1ARrQ1SpvoGpH2s/4pd3E4JOP8yVG8D4uZMbl5Z4rmXucGzIo7T mVZSPvIuraNlPV9pMCkOEIGTgVULMPs1Kb9qkBlxn7iAls2UndR9PysdbEGVXFq6z0kZqB 6kYMYpcSO5G36byFziMTfV7garvmmIP4yfUbshv+9t/ZmIkoYAShxMRrMxJyZCfsFPgtM8 JzD1CrZBljNfLX7GyRhR774hxaOc33STTSH9+xNwRWtNPqQ5RliRy2v7zcs+mw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633765572; a=rsa-sha256; cv=none; b=NVBYIz43L/F7Ih0t5eQUU/Z4HouJZxkTz0wAkwkcX1NRcfE+1xw7pZ5JeB7T3GpwVhDpeI sxwAdbEANmqY5fOqUCKPHiOHedU0dnFEHd2P0vuQ/Yp0Bi4FBqXriwVh058jVSXqzOlhh9 npgU3w0o5Y86Fi1UiJYCHm9OTq01dZVQ/xb2mzt3zlWl7ywfIxqLA+TcPeAOc/QOmBq0pe Iql6LdunnVb9bonUDzsE9dNLHHNxlT1gkhV0ApKi2q/7M4av5Pu52/H3QgIp4dWoiYKEtc Ed5eFJfpRjWk/0egzU5TDwsThbjfEseb9PMet/Ki4E0TLRJBs0/EvYDmELH7sg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=i9bHcLzj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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=gmail.com header.s=20210112 header.b=i9bHcLzj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: ACC3311F37 X-Spam-Score: -1.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: n2PL1gQKILnl Am Freitag, den 08.10.2021, 17:45 +0200 schrieb Konrad Hinsen: > Hi Ludo and Liliana, > > > To me it’s the same as ‘guix environment’, but with a slightly > > different command-line interface; ‘guix environment’ was already > > serves 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=manifest.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. People do use “emacs -Q” so there's no hard “one way or the other” requirement. All we would need to do is offer a similar flag to prevent reading the rc file, no? Cheers, Liliana