diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2014-03-01 14:00:54 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2014-04-02 19:05:57 +0200 |
commit | de11c288c17864258fec530255a8d6b7d5eecf4d (patch) | |
tree | 5da116a7dbb64fa670948d9cbab94683461571e3 /pkgs | |
parent | 25f0b7cb5060fa64205f085204f488ed45a17412 (diff) | |
download | nixlib-de11c288c17864258fec530255a8d6b7d5eecf4d.tar nixlib-de11c288c17864258fec530255a8d6b7d5eecf4d.tar.gz nixlib-de11c288c17864258fec530255a8d6b7d5eecf4d.tar.bz2 nixlib-de11c288c17864258fec530255a8d6b7d5eecf4d.tar.lz nixlib-de11c288c17864258fec530255a8d6b7d5eecf4d.tar.xz nixlib-de11c288c17864258fec530255a8d6b7d5eecf4d.tar.zst nixlib-de11c288c17864258fec530255a8d6b7d5eecf4d.zip |
gcc-wrapper: preferLocalBuild, as it does little work
This is re-revert of e31523a369a.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/build-support/gcc-wrapper/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/build-support/gcc-wrapper/default.nix b/pkgs/build-support/gcc-wrapper/default.nix index 1f521f405850..8e8b0b909454 100644 --- a/pkgs/build-support/gcc-wrapper/default.nix +++ b/pkgs/build-support/gcc-wrapper/default.nix @@ -73,6 +73,8 @@ stdenv.mkDerivation { abort "don't know the name of the dynamic linker for this platform"); }; + preferLocalBuild = true; + meta = let gcc_ = if gcc != null then gcc else {}; in (if gcc_ ? meta then removeAttrs gcc.meta ["priority"] else {}) // |