darwin.moltenvk: use the 12.3 SDK

Additionally, specify a 10.15 deployment target. According to the upstream documentation, 10.15 is the minimum macOS release supported at runtime.
This commit is contained in:
Randy Eckenrode 2024-07-11 19:33:55 -04:00
parent 1542e50e60
commit f635e39514
No known key found for this signature in database
GPG Key ID: 64C1CD4EC2A600D9

View File

@ -186,9 +186,13 @@ impure-cmds // appleSourcePackages // chooseLibs // {
lsusb = callPackage ../os-specific/darwin/lsusb { };
moltenvk = pkgs.darwin.apple_sdk_11_0.callPackage ../os-specific/darwin/moltenvk {
inherit (apple_sdk_11_0.frameworks) AppKit Foundation Metal QuartzCore;
inherit (apple_sdk_11_0.libs) simd;
moltenvk = callPackage ../os-specific/darwin/moltenvk {
stdenv = pkgs.overrideSDK stdenv {
darwinMinVersion = "10.15";
darwinSdkVersion = "12.3";
};
inherit (apple_sdk.frameworks) AppKit Foundation Metal QuartzCore;
inherit (apple_sdk.libs) simd;
};
openwith = callPackage ../os-specific/darwin/openwith { };