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:
committed by
John Ericson
parent
d240a0da1a
commit
39753f5360
@@ -106,7 +106,7 @@ rec {
|
||||
};
|
||||
|
||||
thisPkgs = allPackages {
|
||||
inherit system platform;
|
||||
inherit system platform config;
|
||||
allowCustomOverrides = false;
|
||||
stdenv = thisStdenv;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user