From 53765b0fb33db341bd67a4d97a2fed3863457c80 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sat, 26 Oct 2024 14:27:23 -0400 Subject: [PATCH] darwin.stdenv: avoid building a second Python just for locales --- pkgs/stdenv/darwin/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/stdenv/darwin/default.nix b/pkgs/stdenv/darwin/default.nix index 5a3ef15e392d1..3c3f378fe5f9b 100644 --- a/pkgs/stdenv/darwin/default.nix +++ b/pkgs/stdenv/darwin/default.nix @@ -1016,6 +1016,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; }; } );