diff options
author | John Ericson <Ericson2314@Yahoo.com> | 2017-02-11 18:15:12 -0500 |
---|---|---|
committer | John Ericson <Ericson2314@Yahoo.com> | 2017-04-24 16:31:53 -0400 |
commit | 49c99b70cf64ccf99cd292426b3dbcaeb2e885aa (patch) | |
tree | dad93fe2a6b15c37cbadf9a378522c8a89bf00b2 /pkgs/stdenv/cross | |
parent | a7068ace35c5344fc2760733d32cca8fd4f01116 (diff) | |
download | nixlib-49c99b70cf64ccf99cd292426b3dbcaeb2e885aa.tar nixlib-49c99b70cf64ccf99cd292426b3dbcaeb2e885aa.tar.gz nixlib-49c99b70cf64ccf99cd292426b3dbcaeb2e885aa.tar.bz2 nixlib-49c99b70cf64ccf99cd292426b3dbcaeb2e885aa.tar.lz nixlib-49c99b70cf64ccf99cd292426b3dbcaeb2e885aa.tar.xz nixlib-49c99b70cf64ccf99cd292426b3dbcaeb2e885aa.tar.zst nixlib-49c99b70cf64ccf99cd292426b3dbcaeb2e885aa.zip |
cross-stdenv: Only prune most overrides in the final stage
Before all overrides were also pruned in the previous stage, now only gcc and binutils are, because they alone care about about the target platform. The rest of the overrides don't, so it's better to preserve them in order to avoid spurious rebuilds.
Diffstat (limited to 'pkgs/stdenv/cross')
-rw-r--r-- | pkgs/stdenv/cross/default.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/stdenv/cross/default.nix b/pkgs/stdenv/cross/default.nix index 05910d100a87..dec4b0360925 100644 --- a/pkgs/stdenv/cross/default.nix +++ b/pkgs/stdenv/cross/default.nix @@ -21,9 +21,7 @@ in bootStages ++ [ selfBuild = false; # It's OK to change the built-time dependencies allowCustomOverrides = true; - stdenv = vanillaPackages.stdenv // { - overrides = _: _: {}; - }; + inherit (vanillaPackages) stdenv; }) # Run Packages |