top-level: Close over fewer arguments for stdenv stages

This makes the flow of data easier to understand. There's little downside
because the args in question are already inspected by the stdenvs.

cross-compiling in particular is simpler because we don't need to worry
about overriding the config closed over by `allPackages`.
This commit is contained in:
John Ericson
2016-11-30 19:11:03 -05:00
committed by John Ericson
parent d240a0da1a
commit 39753f5360
7 changed files with 24 additions and 18 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ rec {
};
thisPkgs = allPackages {
inherit system platform;
inherit system platform config;
allowCustomOverrides = false;
stdenv = thisStdenv;
};