cross stdenv: Make depsBuildBuild overrideable by config too.

authored by John Ericson and committed by John Ericson 45e253ca ba96a902

+8 -2
+8 -2
pkgs/stdenv/cross/default.nix
··· 10 config = builtins.removeAttrs config [ "replaceStdenv" ]; 11 }; 12 13 - in bootStages ++ [ 14 15 - # Build Packages 16 (vanillaPackages: { 17 inherit config overlays; 18 selfBuild = false;
··· 10 config = builtins.removeAttrs config [ "replaceStdenv" ]; 11 }; 12 13 + in lib.init bootStages ++ [ 14 15 + # Regular native packages 16 + (somePrevStage: lib.last bootStages somePrevStage // { 17 + # It's OK to change the built-time dependencies 18 + allowCustomOverrides = true; 19 + }) 20 + 21 + # Build tool Packages 22 (vanillaPackages: { 23 inherit config overlays; 24 selfBuild = false;