julius: update to apple-sdk pattern

This commit is contained in:
Matteo Pacini 2024-10-31 21:39:56 +00:00
parent 96424cbf20
commit 3ff8deb4c1

View File

@ -6,6 +6,7 @@
, cmake
, libpng
, darwin
, apple-sdk_11
, libicns
, imagemagick
}:
@ -38,9 +39,7 @@ stdenv.mkDerivation rec {
SDL2
SDL2_mixer
libpng
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Cocoa
];
] ++ lib.optional stdenv.hostPlatform.isDarwin apple-sdk_11;
installPhase = lib.optionalString stdenv.hostPlatform.isDarwin ''
runHook preInstall