[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cross-compilation broken on canonical packages.
From: |
Ludovic Courtès |
Subject: |
Re: Cross-compilation broken on canonical packages. |
Date: |
Mon, 24 Feb 2020 17:11:57 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi!
Mathieu Othacehe <address@hidden> skribis:
> I think you're right! Pushed it as
> f30d84d32db0f4f6cb84e139868e1727a7dc0a51 on core-updates.
>
> Now the good news is that we are one patch away from having core-updates
> to cross-compile bare-bones.tmpl system! This is the patch attached,
> we've been discussing it here[1] without reaching a conclusion.
Yay!
> From f5d773dc0a627ba6059f1025189d33a9e0d083b5 Mon Sep 17 00:00:00 2001
> From: Mathieu Othacehe <address@hidden>
> Date: Sat, 28 Dec 2019 21:29:06 +0100
> Subject: [PATCH 1/2] gexp: Default to current target.
>
> * guix/gexp.scm (lower-object): Set target argument to 'current by default and
> look for the current target system at bind time if needed,
> (gexp->file): ditto,
> (gexp->script): ditto.
Do we need to do it for ‘lower-object’? I think that one is (almost)
always called from a gexp compiler where it’s explicitly passed ‘system’
and ‘target’.
Also, a test or two would be welcome as it’s easy to break it without
noticing.
Otherwise LGTM, thank you, and sorry for the delay!
Ludo’.