gcc-wrapper: preferLocalBuild, as it does little work

This is re-revert of e31523a369.
This commit is contained in:
Vladimír Čunát
2014-04-02 19:05:57 +02:00
parent 25f0b7cb50
commit de11c288c1
@@ -73,6 +73,8 @@ stdenv.mkDerivation {
abort "don't know the name of the dynamic linker for this platform"); abort "don't know the name of the dynamic linker for this platform");
}; };
preferLocalBuild = true;
meta = meta =
let gcc_ = if gcc != null then gcc else {}; in let gcc_ = if gcc != null then gcc else {}; in
(if gcc_ ? meta then removeAttrs gcc.meta ["priority"] else {}) // (if gcc_ ? meta then removeAttrs gcc.meta ["priority"] else {}) //