gcc-wrapper: preferLocalBuild, as it does little work

This is re-revert of e31523a369a.
This commit is contained in:
Vladimír Čunát 2014-03-01 14:00:54 +01:00
parent 25f0b7cb50
commit de11c288c1

View File

@ -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 {}) //