darwin.stdenv: avoid building a second Python just for locales (#351501)

This commit is contained in:
Emily 2024-10-26 19:37:05 +01:00 committed by GitHub
commit c5040d558c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1038,6 +1038,8 @@ assert bootstrapTools.passthru.isFromBootstrapFiles or false; # sanity check
# Build expand-response-params with last stage like below
inherit (prevStage) expand-response-params;
};
# Avoid rebuilding bmake (and Python) just for locales
locale = superDarwin.locale.override { inherit (prevStage) bmake; };
}
);