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 ms11 with LMTPS id hjYzFdzd4V/SIwAA0tVLHw (envelope-from ) for ; Tue, 22 Dec 2020 11:51:56 +0000 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 ECiFENzd4V+nOwAAbx9fmQ (envelope-from ) for ; Tue, 22 Dec 2020 11:51:56 +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 E3708940105 for ; Tue, 22 Dec 2020 11:51:55 +0000 (UTC) Received: from localhost ([::1]:58684 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krgCo-0003FC-UN for larch@yhetil.org; Tue, 22 Dec 2020 06:51:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krgCh-0003Eu-Gj for help-guix@gnu.org; Tue, 22 Dec 2020 06:51:47 -0500 Received: from zancanaro.com.au ([45.76.117.151]:59556) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krgCf-0005AL-TE for help-guix@gnu.org; Tue, 22 Dec 2020 06:51:47 -0500 Received: by zancanaro.com.au (Postfix, from userid 116) id 441C620C83; Tue, 22 Dec 2020 11:51:40 +0000 (UTC) Received: from jolteon (unknown [27.96.215.68]) by zancanaro.com.au (Postfix) with ESMTPSA id 8D67320C71; Tue, 22 Dec 2020 11:51:39 +0000 (UTC) References: <87ft403kol.fsf@ambrevar.xyz> <86tuse8yzh.fsf@gmail.com> <87h7oekwf0.fsf@ambrevar.xyz> <86r1ni86et.fsf@gmail.com> User-agent: mu4e 1.4.13; emacs 27.1 From: Carlo Zancanaro To: zimoun Subject: Re: Install `guix pull'ed Guix to target partition on system install In-reply-to: <86r1ni86et.fsf@gmail.com> Date: Tue, 22 Dec 2020 22:51:39 +1100 Message-ID: <87r1nioy7o.fsf@zancanaro.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=45.76.117.151; envelope-from=carlo@zancanaro.id.au; helo=zancanaro.com.au X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.32 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: E3708940105 X-Spam-Score: -2.32 X-Migadu-Scanner: scn1.migadu.com X-TUID: /jVc2OLiuDwh Hi Simon! On Tue, Dec 22 2020, zimoun wrote: > It is. If you do: > > (live) guix pull > (live) guix system init > > then it appears expected to install what the system describes=20 > *and* the current guix used to install them. Therefore, after=20 > reboot, the first =E2=80=9Cguix pull=E2=80=9D will not fetch all the subs= titutes=20 > Guix requires, because you already did. Part of the issue here is that "guix system init" installs into=20 the system the version of Guix that the "guix" package refers to,=20 which is always older than the version that you are using to do=20 the installation. The "guix" package points to a specific commit=20 (4f621a2b003e85d480999e4d0630e9dc3de85bc3 in my current guix=20 version) which must have come prior to the commit of the guix that=20 is running (which for me is=20 5795f566fae85023c6be86fe62388c29e6ac5c51). This also means that the installed system doesn't include the=20 installed channels in the system Guix, as the Guix version=20 referenced by the "guix" package does not include any external=20 channels. > Other said, > > (live) guix pull > (live) guix describe > (live) guix system init > (live) reboot > (real) login as root > (real) guix describe > > The 2 =E2=80=99describe=E2=80=99 should be the same commit and apparently= they=20 > are not. This expectation is wrong. The two "describe"s should return=20 different commits, and the second one should be earlier than the=20 first. Unfortunately, I am not aware of a solution to the issue Pierre=20 has raised. Carlo