From f513afa37f2760c7f842883598302795c896fc75 Mon Sep 17 00:00:00 2001
From: Ludovic Courtès <ludo@gnu.org>
Date: Mon, 18 Oct 2021 00:10:38 +0200
Subject: 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.
---
 gnu/system/images/hurd.scm | 1 +
 1 file changed, 1 insertion(+)

(limited to 'gnu/system/images')

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-initialize-root-partition
 (define hurd-disk-image
   (image
    (format 'disk-image)
+   (platform hurd)
    (partitions
     (list (partition
            (size 'guess)
-- 
cgit v1.2.3