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 WEyTNsYAZGGm6AAAgWs5BA (envelope-from ) for ; Mon, 11 Oct 2021 11:15:50 +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 2Ok5McYAZGHXGwAAbx9fmQ (envelope-from ) for ; Mon, 11 Oct 2021 09:15:50 +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 2213E379E3 for ; Mon, 11 Oct 2021 11:15:50 +0200 (CEST) Received: from localhost ([::1]:45408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZrPR-0003yv-4r for larch@yhetil.org; Mon, 11 Oct 2021 05:15:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60408) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZrOh-0003c0-4e for guix-patches@gnu.org; Mon, 11 Oct 2021 05:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45032) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mZrOg-0004ET-SI for guix-patches@gnu.org; Mon, 11 Oct 2021 05:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mZrOg-000306-OJ for guix-patches@gnu.org; Mon, 11 Oct 2021 05:15: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, 11 Oct 2021 09:15: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, "Thompson, David" Received: via spool by 50960-submit@debbugs.gnu.org id=B50960.163394365011437 (code B ref 50960); Mon, 11 Oct 2021 09:15:02 +0000 Received: (at 50960) by debbugs.gnu.org; 11 Oct 2021 09:14:10 +0000 Received: from localhost ([127.0.0.1]:56574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZrNp-0002yN-Rm for submit@debbugs.gnu.org; Mon, 11 Oct 2021 05:14:10 -0400 Received: from mail-qt1-f173.google.com ([209.85.160.173]:39865) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZrNn-0002yA-W0 for 50960@debbugs.gnu.org; Mon, 11 Oct 2021 05:14:09 -0400 Received: by mail-qt1-f173.google.com with SMTP id i1so14635412qtr.6 for <50960@debbugs.gnu.org>; Mon, 11 Oct 2021 02:14:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Wz+axUhu4XMz33oNVKhlPL3X4pB5DY/yDRPd4gjjw1M=; b=Cid19gX88PjPyVSi0taIxlLPdWjRp8jkok4S6NSzIkv/qlKugoFJzzj3RH1Lv5PI2D mrL3Glotb+Vhfd8AhvnEbZMQuUpwc+wL+mMq+djUURgq/RajIAULmlj9TVMh+7kOFHTA bbKWzWYKNENNmlHkoKgz5JVKoLDK4cPrcUY65uNpAx0R4jWAMICF1UfQ42XsgAHWN0xg DOIbVfwtpJCjs5Dsn6RMbGiBNNU+RT4K6i4/ILZMhJZkqb8cBmE6v3bk/xEJ+aSVemZh evJd6OrTuHHNe0W+QSjaZxiRiqXLk/mtn5avox6H/Gcvxyawo511qVhcUmjrUozYFRVG cmkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Wz+axUhu4XMz33oNVKhlPL3X4pB5DY/yDRPd4gjjw1M=; b=ZuE1b3+BQIhemizezn+77Y80Xl3kj0UNsBBYLhgoaRUcrX6a5w4AfT/1Z0arLKdY0Q Ear53G5zzO/MrZzHObp0Io0PLxwxn9e3Vfe26a3UqN3pbFykKYNTZ/l4ksfBdesExD8z cvn1nEkWgD7kuqmd+NFc2PJSnX8aR3sycw1dLMcH8dluKjj/ZsaNdECjZzferbT7tefU SSVo9xmw7LPLoFhnrq7ZA6up0/tXnidfZLHBcKLexikwpRFFw2P2lFeZjX15zR4azKBK zByj4KXJLjyHyUkpaHHY/m4L7QTofwX5sGmJlG52JxA2BCDdAGj5htNRW/sAJ2dgHO6A yGTg== X-Gm-Message-State: AOAM5325X53FgHCkBilWYQT8V5iHODH7OXjOh50IHbRJTUqBTTzfFL7S a8iPF8Qe4j38hMwzOS8dsZPZ0lPvuM16y5S7cSk= X-Google-Smtp-Source: ABdhPJwD6RYWIQPrg2XV9gW48j7kNsErXoC8Orxzr+W07cmfPvY9nH1t6UILbAK/AOjCbCkhMRLnxkOPAP00zCWE2cA= X-Received: by 2002:a05:622a:316:: with SMTP id q22mr13303962qtw.225.1633943642344; Mon, 11 Oct 2021 02:14:02 -0700 (PDT) MIME-Version: 1.0 References: <20211002102116.27726-1-ludo@gnu.org> <877depdw3i.fsf_-_@gnu.org> In-Reply-To: <877depdw3i.fsf_-_@gnu.org> From: zimoun Date: Mon, 11 Oct 2021 11:13:51 +0200 Message-ID: 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=1633943750; 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=Wz+axUhu4XMz33oNVKhlPL3X4pB5DY/yDRPd4gjjw1M=; b=PMZe2eTFqC6TFXWF5Tj9DemAVfUlIJlX0Bg87QwGXm6DZqNkiFI4lN/J44uInRm1dG4kEB OYiv+UhoQWKVbfc/Uz/7Pj5HJr6M5juIqkeui/Y73Wt4AiqwMKF1LLSh1v+PMHDdIP1A/p ADlWPaU7QSDInPCguWPy1MpXvBnx3sN8EL+WP66tw6dp6QC+fCxwK7cdAaL51WsGL/vLj5 9qw82qKONCIJmf2e96xrD64aatdXxpzdzV3rcEdXGm3WE4BHIxI/MauofQLbptwWhcn32i YA8PtwA6g1idya+xvJcYbnviG/5Sm4kf8RZcE9aFZPA6oMdX3zUZctrfi8+q9w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633943750; a=rsa-sha256; cv=none; b=Nu4afNYywRa8NFahyjdY79J396DUOOacum++CSJ6Xv9p7RZn+6MTbwh0SBwXjURt5xOdCP dnZvRvdXiSA5w1EPIy4X/PjvKuMLnZDYr4ibt4NROsx2U2N451dqNEDt/wcnWc8kzyXp8M u4/b4fOfHAOM+s68Fyg/LoxUBxsmoB46p0OTUBsE9cJB4tAPTgr1kiLk3B+my/MVJqcRmu gdUTWJGxtcoC4o06yv//e8iMpqdshM2dsBLgEhGCdPNwOiOX0dioyhdlv5GIjQhDLYarXI Bxqw7hBkCJiz2tf7t4VdexekWkt3m+mAY11ecW8uffawwAlcghLI8nMOIjnvAg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Cid19gX8; 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=Cid19gX8; 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: 2213E379E3 X-Spam-Score: -1.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: qnNMeVGEnj7M Hi Ludo, On Thu, 7 Oct 2021 at 11:27, Ludovic Court=C3=A8s wrote: > "Thompson, David" skribis: > > > 1) I can't be the only one that thinks it's a pain to rebuild the > > whole environment just because I updated the Guix client. It's > > especially frustrating when there is a regression that breaks the > > project, or the substitute servers are having a bad day. > > The way I see it, I update Guix precisely to get a newer environment. > Otherwise, why would I update it for? I think there is a kind of misunderstanding because one updates Guix because of new project B but then rebuilds the whole environment for project A. And this can be unpleasant. The solution is to use "guix time-machine -C channels.scm -- environment" but again this can be unpleasant because it builds a lot of things; although before one runs "guix environment". Well, you should tell me that the solution is to create a profile. However, I often use "guix environment" with the options --pure or --container, and a profile cannot, IIUC. > Perhaps =E2=80=98guix time-machine=E2=80=99, too, could automatically det= ect > =E2=80=98channels.scm=E2=80=99. Well, I am not convince it helps for readibility. At the end, it would rea= d: guix time-machine -- shell but then to know what this command does exactly, one should open the manual check the "guix time-machine" part, check the presence of the 'channels.scm' file, then read the "guix shell" part, then check if if is 'manifests.scm' or 'guix.scm'. Maybe, it is just habits, but I find much simpler: guix time-machine -C channels -- shell -m manifest.scm guix time-machine -C channels -- shell -f guix.scm where I just have at the command-line type "guix time-machine --help" or "guix shell --help" to remember the options and if I do not know what manifest is, then I go to the manual. With completion, it is not longer to type. "Explicit is better than implicit" as a good Zen says! > The temptation to add revision data to tools that don=E2=80=99t otherwise= deal > with it is real; I think it=E2=80=99s better kept separate though, becaus= e > fundamentally, each revision lives in its own world. I agree. All the best, simon