Move up inherit binding for consistency

This commit is contained in:
John Ericson 2016-11-30 19:03:22 -05:00
parent ddeb0d2d6b
commit 2df990967b
2 changed files with 2 additions and 2 deletions

View File

@ -17,10 +17,10 @@ rec {
# be used to build compilers and other such tools targeting the cross
# platform. Then, `forceNativeDrv` can be removed.
buildPackages = allPackages {
inherit system platform crossSystem config;
# It's OK to change the built-time dependencies
allowCustomOverrides = true;
bootStdenv = vanillaStdenv;
inherit system platform crossSystem config;
};
stdenvCross = buildPackages.makeStdenvCross

View File

@ -7,10 +7,10 @@ rec {
});
buildPackages = allPackages {
inherit system platform crossSystem config;
# It's OK to change the built-time dependencies
allowCustomOverrides = true;
bootStdenv = vanillaStdenv;
inherit system platform crossSystem config;
};
stdenvCustom = config.replaceStdenv { pkgs = buildPackages; };