all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carlo Zancanaro <carlo@zancanaro.id.au>
To: zimoun <zimon.toutoune@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: Install `guix pull'ed Guix to target partition on system install
Date: Tue, 22 Dec 2020 22:51:39 +1100	[thread overview]
Message-ID: <87r1nioy7o.fsf@zancanaro.id.au> (raw)
In-Reply-To: <86r1ni86et.fsf@gmail.com>

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 
> *and* the current guix used to install them.  Therefore, after 
> reboot, the first “guix pull” will not fetch all the substitutes 
> Guix requires, because you already did.

Part of the issue here is that "guix system init" installs into 
the system the version of Guix that the "guix" package refers to, 
which is always older than the version that you are using to do 
the installation. The "guix" package points to a specific commit 
(4f621a2b003e85d480999e4d0630e9dc3de85bc3 in my current guix 
version) which must have come prior to the commit of the guix that 
is running (which for me is 
5795f566fae85023c6be86fe62388c29e6ac5c51).

This also means that the installed system doesn't include the 
installed channels in the system Guix, as the Guix version 
referenced by the "guix" package does not include any external 
channels.

> Other said,
>
>   (live) guix pull
>   (live) guix describe
>   (live) guix system init
>   (live) reboot
>   (real) login as root
>   (real) guix describe
>
> The 2 ’describe’ should be the same commit and apparently they 
> are not.

This expectation is wrong. The two "describe"s should return 
different commits, and the second one should be earlier than the 
first.

Unfortunately, I am not aware of a solution to the issue Pierre 
has raised.

Carlo


  reply	other threads:[~2020-12-22 11:51 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-20  9:12 Install `guix pull'ed Guix to target partition on system install Pierre Neidhardt
2020-12-21 11:57 ` zimoun
2020-12-21 12:26   ` Pierre Neidhardt
2020-12-21 13:07     ` zimoun
2020-12-21 13:33       ` Pierre Neidhardt
2020-12-21 13:56         ` zimoun
2020-12-21 14:47           ` Pierre Neidhardt
2020-12-21 16:26             ` zimoun
2020-12-21 16:49               ` Pierre Neidhardt
2020-12-21 17:06                 ` zimoun
2020-12-21 17:12                   ` Pierre Neidhardt
2020-12-21 17:53                     ` zimoun
2020-12-21 19:39                       ` Pierre Neidhardt
2020-12-21 23:50                         ` zimoun
2020-12-22 12:28                           ` Ricardo Wurmus
2020-12-22 13:16                             ` zimoun
2020-12-22  0:29 ` zimoun
2020-12-22  9:44   ` Pierre Neidhardt
2020-12-22 10:46     ` zimoun
2020-12-22 11:51       ` Carlo Zancanaro [this message]
2020-12-22 13:06         ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r1nioy7o.fsf@zancanaro.id.au \
    --to=carlo@zancanaro.id.au \
    --cc=help-guix@gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.