Ricardo Wurmus <[email protected]> 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.

If you build the system with --no-grafts, I suspect things will work as
expected.

> Is this behaviour a bug?

Probably :)

Attachment: signature.asc
Description: PGP signature

Reply via email to