summary refs log tree commit diff
path: root/gnu/packages/cross-base.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-12-17 21:31:52 +0100
committerLudovic Courtès <ludo@gnu.org>2020-12-17 21:32:51 +0100
commit52beec2d71e67fd94e105d56cc6f4d7d3cb5cc38 (patch)
treeee1c8383a045495226059cdf181506268dfb9d75 /gnu/packages/cross-base.scm
parent4c6824a8182f8c46a15bb0d0bf5068ab9f2f5639 (diff)
downloadguix-52beec2d71e67fd94e105d56cc6f4d7d3cb5cc38.tar.gz
gnu: cross-base: Re-add cross-MIG as an input for GNU/Hurd.
* gnu/packages/cross-base.scm (cross-libc)[native-inputs]: Re-add
"cross-mig", erroneously removed in
6690b6d1e7333137e4731ec5e4bb30d6637c3237.
Diffstat (limited to 'gnu/packages/cross-base.scm')
-rw-r--r--gnu/packages/cross-base.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm
index ccff0ae3a4..c5b11b5e8a 100644
--- a/gnu/packages/cross-base.scm
+++ b/gnu/packages/cross-base.scm
@@ -536,6 +536,11 @@ and the cross tool chain."
 
         (native-inputs `(("cross-gcc" ,xgcc)
                          ("cross-binutils" ,xbinutils)
+                         ,@(if (hurd-triplet? target)
+                               `(("cross-mig"
+                                  ,@(assoc-ref (package-native-inputs xheaders)
+                                               "cross-mig")))
+                               '())
                          ,@(package-inputs libc)  ;FIXME: static-bash
                          ,@(package-native-inputs libc))))))