From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2Ct9JDq0dmHcBgAAgWs5BA (envelope-from ) for ; Mon, 25 Oct 2021 15:42:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YJE0IDq0dmGDPgAA1q6Kng (envelope-from ) for ; Mon, 25 Oct 2021 13:42:18 +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 280DCB124 for ; Mon, 25 Oct 2021 15:42:18 +0200 (CEST) Received: from localhost ([::1]:54828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mf0Ez-0007Fi-B8 for larch@yhetil.org; Mon, 25 Oct 2021 09:42:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46794) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mf0El-0007FN-8W for guix-patches@gnu.org; Mon, 25 Oct 2021 09:42:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58676) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mf0Ek-0006Br-T3 for guix-patches@gnu.org; Mon, 25 Oct 2021 09:42:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mf0Ek-0000db-EB for guix-patches@gnu.org; Mon, 25 Oct 2021 09:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50960] [PATCH 00/10] Add 'guix shell' to subsume 'guix environment' Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Oct 2021 13:42: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?= Cc: 50960@debbugs.gnu.org Received: via spool by 50960-submit@debbugs.gnu.org id=B50960.16351692922397 (code B ref 50960); Mon, 25 Oct 2021 13:42:02 +0000 Received: (at 50960) by debbugs.gnu.org; 25 Oct 2021 13:41:32 +0000 Received: from localhost ([127.0.0.1]:41989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mf0EE-0000cX-G3 for submit@debbugs.gnu.org; Mon, 25 Oct 2021 09:41:32 -0400 Received: from mail-wr1-f52.google.com ([209.85.221.52]:34535) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mf0EC-0000cH-AL for 50960@debbugs.gnu.org; Mon, 25 Oct 2021 09:41:28 -0400 Received: by mail-wr1-f52.google.com with SMTP id d10so8844343wrb.1 for <50960@debbugs.gnu.org>; Mon, 25 Oct 2021 06:41:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=ijki7ikQM9RTPOb/wqhsAjfMA/k/GwYYHe6LPThcwRQ=; b=VScd2H5v402lUYVJqLwX5YO1uM8c+Q5wKYJzstSTbUwDs/9SA6UZz57ibGNzLa3Bzz Vket1atzJU78xikmy1B9grSDRjkcJmgQx5/nBD+7595pRzDS14xKb4YH7a3haJ9+SgVr Nj3NKs2sCZuySSIR2TFAROrpbZTRcATwtpEyDTd5+mZJUG7qb3FmlEvB7BOlHu3IgiSV 5/Uc4xg2x3wIcD8dSyvFTsnFK1G1v8Fjp5laL91LniIsbWsSHscjRPajVvudT5HN3Cvq DDKKFNhauRQPtTqqB4Mmnl8kholntJvLZKX2waVgu1CzJSJhble/YxpQYrc8w7bRXdJb iogg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=ijki7ikQM9RTPOb/wqhsAjfMA/k/GwYYHe6LPThcwRQ=; b=rj7L3ht/zWnvd3xtUrlpHHner+evn1+meHrHpAERKiwCc2V0lfwwWpAgAVSjeVWnlv 1lOP+4wRtvdHRYJjrs2UyET/brXh5R0V7O9R22Bd1n+gmguhiJGHGG2tvjPtBwSUGRKQ jIybFhCYls/bRO2VG/8I4YZdrpcVqbszTtpEsqWxrggJREbvHYT7jo2Va3ropJFZ2Pnz KRQay1Xvq+v623qnPukn0aJaTnMActYJlAqC4908UmhpdgYGqKugwTYEAtq39RGbERL/ p4wXZhmpY9ARd9rexLVo6DkNRqZVB5OptmOiP/7sIriAmImbplzHe5DPQ71BF9cCloeO BHaw== X-Gm-Message-State: AOAM532ltLD8bBVxQbU0Qxcy8169uYVt4Sy8PpmTK016iFB1sr4ezvFu BT0laiyKiMgkAXBnG4+OVYVvUbpSsvc= X-Google-Smtp-Source: ABdhPJw0aLvPt+tMux5rylaTkyHcbRsjxnUi4mvduoQk9K+zGOc+qxpRVfR7fn+SiNvF9DIxwpt8Ng== X-Received: by 2002:a5d:63cd:: with SMTP id c13mr22373961wrw.224.1635169282113; Mon, 25 Oct 2021 06:41:22 -0700 (PDT) Received: from pfiuh02 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id b4sm2424965wri.46.2021.10.25.06.41.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Oct 2021 06:41:21 -0700 (PDT) From: zimoun References: <20211011213809.17482-1-ludo@gnu.org> <20211018195219.13898-1-ludo@gnu.org> Date: Mon, 25 Oct 2021 15:41:16 +0200 In-Reply-To: <20211018195219.13898-1-ludo@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 18 Oct 2021 21:52:09 +0200") Message-ID: <87r1c9jk77.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) 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=1635169338; 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: 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=ijki7ikQM9RTPOb/wqhsAjfMA/k/GwYYHe6LPThcwRQ=; b=DDxHxm4GH14vh2z0Pvy3v/W5cCmBtwCIzajMNTog14FU7dMK0nK/q+WJCI8jycrICvrRCM iJ41/gkOCTCbGdg7YIlKEygrfR5XF+WV8aWKXvl/2L8bXDgm6++EHx6G6x8zOX/S9YYl12 JWlgS52fvURN62xFtR4WAd2jjlcRuPq7M5POb/c69/yLmOuNMDeFMt/pUagNAkmxS0VdOg TJ4/lZuITCal1kdwvtRZsmZjGExKW+9qIT8PdVswRJ63enP2pfjfMXQYR+ZtSLJLv3YTQL gkgAzZj1nmt9tSI673XHJK38yb+E09XxNuy/YZLsKow0I3ZmpSZlsU5KwNkAJA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635169338; a=rsa-sha256; cv=none; b=Ea/bXtTNjoqlsqOd1xR7uFSLYi49j9RAT1HqcD2+mmEfCApMmCWwzZM6wdR0VNYIBLn4Og /kxi1FhCLgifkxhxfjF8vFqnVRRZtZ8MFVuG4Szo2wyyXidBaWliuEWwl268gZymPLHKfB MOyRB0YCAKVKqgzuWQfwneLurZUZdy8mGhQuC4VcGczn4Arnlf+TC8cs3cTCSEyvMB2WCA qJdokNjBDOpNmOU92XN1Eq7K2ZzV0ClD8vWQZa3guDIc9aFY/eE8xv3+yFVddL86ZoQzcP Xz022Oqj1thdMcojNmLQd867wguFp6/DOzUl2ckPDvUyYm9SLN/tFSMen8fPgw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=VScd2H5v; 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.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=VScd2H5v; 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: 280DCB124 X-Spam-Score: -1.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7wbbI8J5tw29 Hi Ludo, I have not reviewed all in detail, only applied the series and run some checks based on my "workflow". All looks good to me. The environment variable named GUIX_ENVIRONMENT remains unchanged. I have no opinion if it is misleading or not for newcomers. (I have not checked the behaviour about implicitly loading some files =E2= =80=93 since I am not a big fan of implicit behaviour: =C2=ABExplicit is better th= an implicit.=C2=BB and =C2=ABIn the face of ambiguity, refuse the temptation to guess.=C2=BB, as a good Zen says =E2=80=93 that=E2=80=99s not the consensus= though. The road seems to go toward, guix time-machine -- shell which appears to me handy in some cases but wrong on principles. As I explained here .) About completion, =E2=80=9Cguix environment=E2=80=9D is in zsh and fish, = =E2=80=9Cguix shell=E2=80=9D is not yet. Last, in the manual, this, --8<---------------cut here---------------start------------->8--- Here, @command{guix environment -C} creates a container and spawns a new shell in it (@pxref{Invoking guix shell}). The @command{strace gdb} part adds the @command{strace} and @command{gdb} commands to the container, which you may find handy while debugging. The @option{--no-grafts} option makes sure we get the exact same environment, with ungrafted packages (@pxref{Security Updates}, for more info on grafts). --8<---------------cut here---------------end--------------->8--- in the node =C2=ABDebugging Build Failures=C2=BB should be replaced. Becau= se the example just above this snippet does not refer to =E2=80=9Cguix environment= =E2=80=9D. Well, the section =C2=ABInvoking guix environment=C2=BB should be revamped. Especially, all the examples. Let do that by another commit (later). Cheers, simon