juce: switch to overrideSDK
Using overrideSDK allows juce to use the correct SDK frameworks even when they are propagated from curl.
This commit is contained in:
parent
c2a623b52a
commit
19214a27a2
2 changed files with 6 additions and 4 deletions
|
@ -53,9 +53,9 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
libglvnd # libGL.so
|
||||
webkitgtk # webkit2gtk-4.0
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk_11_0.frameworks.Cocoa
|
||||
darwin.apple_sdk_11_0.frameworks.MetalKit
|
||||
darwin.apple_sdk_11_0.frameworks.WebKit
|
||||
darwin.apple_sdk.frameworks.Cocoa
|
||||
darwin.apple_sdk.frameworks.MetalKit
|
||||
darwin.apple_sdk.frameworks.WebKit
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -5755,7 +5755,9 @@ with pkgs;
|
|||
|
||||
joystickwake = callPackage ../tools/games/joystickwake { };
|
||||
|
||||
juce = darwin.apple_sdk_11_0.callPackage ../development/misc/juce { };
|
||||
juce = callPackage ../development/misc/juce {
|
||||
stdenv = if stdenv.isDarwin then overrideSDK stdenv "11.0" else stdenv;
|
||||
};
|
||||
|
||||
jumppad = callPackage ../tools/virtualization/jumppad { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue