diff options
author | Manolis Ragkousis <manolis837@gmail.com> | 2017-01-02 21:07:59 +0200 |
---|---|---|
committer | Manolis Ragkousis <manolis837@gmail.com> | 2017-01-03 16:00:39 +0200 |
commit | 62596a158b4878e3f4b64f3e0f3a3f846228afd4 (patch) | |
tree | aba9fdbf72f5ea1806285d561bbe71c1b1a42cb5 /gnu/packages/cross-base.scm | |
parent | 6a37872cd2c132371ef2cb5344e004c63fdeb927 (diff) | |
download | patches-62596a158b4878e3f4b64f3e0f3a3f846228afd4.tar patches-62596a158b4878e3f4b64f3e0f3a3f846228afd4.tar.gz |
gnu: Use hurd-triplet? to check if GNU/Hurd.
* gnu/packages/make-bootstrap.scm (hurd-triplet?): Move it from here..
* gnu/packages/hurd.scm: ..to here. New exported procedure.
* gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash)
[arguments]: Replace string-match.
[inputs]: Same.
* gnu/packages/cross-base.scm (cross-libc)[native-inputs]: Same.
Diffstat (limited to 'gnu/packages/cross-base.scm')
-rw-r--r-- | gnu/packages/cross-base.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm index 763bbf50e2..a3dfb8f477 100644 --- a/gnu/packages/cross-base.scm +++ b/gnu/packages/cross-base.scm @@ -468,7 +468,7 @@ XBINUTILS and the cross tool chain." (native-inputs `(("cross-gcc" ,xgcc) ("cross-binutils" ,xbinutils) - ,@(if (string-match (or "i586-pc-gnu" "i586-gnu") target) + ,@(if (hurd-triplet? target) `(("cross-mig" ,@(assoc-ref (package-native-inputs xheaders) "cross-mig"))) |