python3: remove code for macOS < 11
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
|
||||
# platform-specific dependencies
|
||||
, bash
|
||||
, apple-sdk_11
|
||||
, darwin
|
||||
, windows
|
||||
|
||||
@@ -178,9 +177,6 @@ let
|
||||
bluez
|
||||
] ++ optionals enableFramework [
|
||||
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
|
||||
] ++ optionals stdenv.hostPlatform.isMinGW [
|
||||
windows.dlfcn
|
||||
windows.mingw_w64_pthreads
|
||||
|
||||
@@ -669,8 +669,6 @@ assert bootstrapTools.passthru.isFromBootstrapFiles or false; # sanity check
|
||||
self = self.python3-bootstrap;
|
||||
pythonAttr = "python3-bootstrap";
|
||||
enableLTO = false;
|
||||
# Workaround for ld64 crashes on x86_64-darwin. Remove after 11.0 is made the default.
|
||||
inherit (prevStage) apple-sdk_11;
|
||||
};
|
||||
|
||||
scons = super.scons.override { python3Packages = self.python3.pkgs; };
|
||||
|
||||
Reference in New Issue
Block a user