top-level: Do stdenvOverrides in stage.nix even if crossSystem exists.

Instead, the cross stdenv will patch up the override field -- the complexity
is now confined to the one place it matters.
This commit is contained in:
David Grayson
2017-01-13 13:23:25 -05:00
committed by John Ericson
parent 3e197f7d81
commit 0f33b9f7f1
2 changed files with 5 additions and 9 deletions
+1
View File
@@ -24,6 +24,7 @@ in bootStages ++ [
stdenv = vanillaPackages.stdenv // {
# Needed elsewhere as a hacky way to pass the target
cross = crossSystem;
overrides = _: _: {};
};
})