From eb0b29f13dfde040fbe59f2b7a76341241b0528c Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 6 Dec 2020 21:03:17 +0000 Subject: gnu: guix-build-coordinator: Support cross-compilation. Due to fibers not supporting the Hurd yet, the coordinator itself won't work, but the agent should. * gnu/packages/package-management.scm (guix-build-coordinator)[inputs]: Don't include sqitch if building for the hurd. [propagated-inputs]: Don't include guile-fibers if building for the hurd. --- gnu/packages/package-management.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index df0e5fb07a..bff7093aee 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -1097,9 +1097,13 @@ environments.") (inputs `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile")) ("sqlite" ,sqlite) - ("sqitch" ,sqitch))) + ,@(if (hurd-target?) + '() + `(("sqitch" ,sqitch))))) (propagated-inputs - `(("guile-fibers" ,guile-fibers) + `(,@(if (hurd-target?) + '() + `(("guile-fibers" ,guile-fibers))) ("guile-prometheus" ,guile-prometheus) ("guile-gcrypt" ,guile-gcrypt) ("guile-json" ,guile-json-4) -- cgit v1.2.3