From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 18 17:19:02 2019 Received: (at 37443) by debbugs.gnu.org; 18 Sep 2019 21:19:02 +0000 Received: from localhost ([127.0.0.1]:54911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iAhLq-0008DE-6X for submit@debbugs.gnu.org; Wed, 18 Sep 2019 17:19:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41377) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iAhLo-0008Cg-SK for 37443@debbugs.gnu.org; Wed, 18 Sep 2019 17:19:01 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iAhLj-0003R0-Mv; Wed, 18 Sep 2019 17:18:55 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=56636 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iAhLj-0002bc-5V; Wed, 18 Sep 2019 17:18:55 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Subject: Re: [bug#37443] [PATCH] scripts: pull: Add options for generation management References: Date: Wed, 18 Sep 2019 23:18:53 +0200 In-Reply-To: (zimoun's message of "Wed, 18 Sep 2019 18:33:47 +0200") Message-ID: <87y2yl5mma.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 37443 Cc: Konrad Hinsen , 37443@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello zimoun! zimoun skribis: > Naive question: why not merge the two default profiles in only one > default profile? > > `guix pull` uses the default ~/.config/guix/current > `guix package` uses the default ~/.guix-profile > > Does it make sense to remove one of them? Nope! :-) Technically, it could work of course, since both are just regular profiles. The problem is that rolling back your package set would also potentially roll back the very tool you=E2=80=99re using to roll back. There could be problems if, say, the format of ~/.guix-profile/manifest changed, and you end up with a =E2=80=98guix=E2=80=99 that cannot read it because it=E2= =80=99s too old, things like that. More importantly, I think we really want the tool and the user=E2=80=99s pa= ckage set to evolve on different axes. It=E2=80=99s important to be able to upgr= ade or rollback one without touching the other. Now, it=E2=80=99s true that having two different profiles appears to be har= d to grasp for newcomers, as Ricardo was saying just now on IRC. HTH! Ludo=E2=80=99.