[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

`guix copy` vs grafts

From: Marius Bakke
Subject: `guix copy` vs grafts
Date: Thu, 28 Dec 2017 01:40:49 +0100
User-agent: Notmuch/0.25.3 ( Emacs/25.3.1 (x86_64-pc-linux-gnu)

Marius Bakke <address@hidden> writes:

> Ricardo Wurmus <address@hidden> writes:
>> Hi Guix,
>> as my i686 laptop has only about 1G of memory and thus fails to build a
>> great many packages (including the guix package itself) I wanted to
>> build its configuration on my x86_64 laptop.  I then copied the system
>> closure to the i686 laptop with “guix copy”.
>> On the i686 target I ran “sudo -E guix system reconfigure config.scm”
>> and expected it to do little more than switching to the transferred
>> system item.  Instead it started building Guix, which fails on my i686
>> machine (not enough memory).
> There is a caveat with `guix copy`: if you copy the grafted derivation
> (as the `guix system build` closure would be) the receiving system won't
> recognize it since it only computes the ungrafted derivations.

To clarify: I think what happens is that "guix system/build" builds the
'normal' derivation, then afterwards computes and builds the grafts.

If the first is not present locally, it will be built even if the
grafted derivation is already in the store.

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]