diff options
author | Christopher Baines <mail@cbaines.net> | 2020-12-06 21:03:17 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-12-06 21:09:42 +0000 |
commit | eb0b29f13dfde040fbe59f2b7a76341241b0528c (patch) | |
tree | 71c6db9b496213c48907132ad0198017165358a9 | |
parent | 7306c679126edc5305a0f1897967ea4fe003f092 (diff) | |
download | guix-eb0b29f13dfde040fbe59f2b7a76341241b0528c.tar.gz |
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.
-rw-r--r-- | gnu/packages/package-management.scm | 8 |
1 files changed, 6 insertions, 2 deletions
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) |