summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-10-18 00:10:38 +0200
committerLudovic Courtès <ludo@gnu.org>2021-10-18 10:00:50 +0200
commitf513afa37f2760c7f842883598302795c896fc75 (patch)
tree81dc2bed80dd9460ded9ff929871409582a9c3ed
parent3fbf38aca2af5613755bad62a21edd60e251852a (diff)
downloadguix-f513afa37f2760c7f842883598302795c896fc75.tar.gz
system: image: Ensure Hurd images are cross-compiled if needed.
Fixes regression introduced in d5073fd113c621fe0b55382f7dd336ee118e759f,
whereby childhurd dependencies such as 'hurd' would erroneously be
attempted to build natively on x86_64-linux.

* gnu/system/images/hurd.scm (hurd-disk-image)[platform]: New field.
-rw-r--r--gnu/system/images/hurd.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/system/images/hurd.scm b/gnu/system/images/hurd.scm
index 77f7ff5e2b..4c38c46a89 100644
--- a/gnu/system/images/hurd.scm
+++ b/gnu/system/images/hurd.scm
@@ -76,6 +76,7 @@
 (define hurd-disk-image
   (image
    (format 'disk-image)
+   (platform hurd)
    (partitions
     (list (partition
            (size 'guess)