swift: set Foundation to null on Darwin

This commit is contained in:
Randy Eckenrode 2024-09-25 21:47:47 -04:00
parent 9a260e6903
commit 1279654765
No known key found for this signature in database
GPG Key ID: 64C1CD4EC2A600D9

View File

@ -59,7 +59,7 @@ let
else callPackage ./libdispatch { swift = swiftNoSwiftDriver; };
Foundation = if stdenv.hostPlatform.isDarwin
then apple_sdk.frameworks.Foundation
then null # part of apple-sdk
else callPackage ./foundation { swift = swiftNoSwiftDriver; };
# TODO: Apple distributes a binary XCTest with Xcode, but it is not part of