diff --git a/pkgs/stdenv/cross/default.nix b/pkgs/stdenv/cross/default.nix index 8da3555c6c6..6e306571853 100644 --- a/pkgs/stdenv/cross/default.nix +++ b/pkgs/stdenv/cross/default.nix @@ -10,9 +10,15 @@ let config = builtins.removeAttrs config [ "replaceStdenv" ]; }; -in bootStages ++ [ +in lib.init bootStages ++ [ - # Build Packages + # Regular native packages + (somePrevStage: lib.last bootStages somePrevStage // { + # It's OK to change the built-time dependencies + allowCustomOverrides = true; + }) + + # Build tool Packages (vanillaPackages: { inherit config overlays; selfBuild = false;