From c455166b5f3e62357fd0c40be2721dd78c36cfca Mon Sep 17 00:00:00 2001 From: Emily Date: Thu, 7 Nov 2024 17:18:33 +0000 Subject: [PATCH] python{27,39,310,311,312,313,314}: use a bootstrap SDK on Darwin Not sure why this is necessary now, since it should already be handled as part of the bootstrap. This might not be the right fix but it does fix eval. --- pkgs/development/interpreters/python/cpython/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/python/cpython/default.nix b/pkgs/development/interpreters/python/cpython/default.nix index 20c7c0c145ef5..a7b34e3329d18 100644 --- a/pkgs/development/interpreters/python/cpython/default.nix +++ b/pkgs/development/interpreters/python/cpython/default.nix @@ -180,7 +180,7 @@ let darwin.apple_sdk.frameworks.Cocoa ] ++ optionals stdenv.hostPlatform.isDarwin [ # Work around for ld64 crashes on x86_64-darwin. Remove once 11.0 becomes the default. - apple-sdk_11 + (apple-sdk_11.override { enableBootstrap = true; }) ] ++ optionals stdenv.hostPlatform.isMinGW [ windows.dlfcn windows.mingw_w64_pthreads