Move up inherit
binding for consistency
This commit is contained in:
parent
ddeb0d2d6b
commit
2df990967b
|
@ -17,10 +17,10 @@ rec {
|
||||||
# be used to build compilers and other such tools targeting the cross
|
# be used to build compilers and other such tools targeting the cross
|
||||||
# platform. Then, `forceNativeDrv` can be removed.
|
# platform. Then, `forceNativeDrv` can be removed.
|
||||||
buildPackages = allPackages {
|
buildPackages = allPackages {
|
||||||
|
inherit system platform crossSystem config;
|
||||||
# It's OK to change the built-time dependencies
|
# It's OK to change the built-time dependencies
|
||||||
allowCustomOverrides = true;
|
allowCustomOverrides = true;
|
||||||
bootStdenv = vanillaStdenv;
|
bootStdenv = vanillaStdenv;
|
||||||
inherit system platform crossSystem config;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
stdenvCross = buildPackages.makeStdenvCross
|
stdenvCross = buildPackages.makeStdenvCross
|
||||||
|
|
|
@ -7,10 +7,10 @@ rec {
|
||||||
});
|
});
|
||||||
|
|
||||||
buildPackages = allPackages {
|
buildPackages = allPackages {
|
||||||
|
inherit system platform crossSystem config;
|
||||||
# It's OK to change the built-time dependencies
|
# It's OK to change the built-time dependencies
|
||||||
allowCustomOverrides = true;
|
allowCustomOverrides = true;
|
||||||
bootStdenv = vanillaStdenv;
|
bootStdenv = vanillaStdenv;
|
||||||
inherit system platform crossSystem config;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
stdenvCustom = config.replaceStdenv { pkgs = buildPackages; };
|
stdenvCustom = config.replaceStdenv { pkgs = buildPackages; };
|
||||||
|
|
Loading…
Reference in a new issue