augustus: update to apple-sdk pattern

This commit is contained in:
Matteo Pacini 2024-10-31 21:35:03 +00:00
parent a445fb0fc2
commit 799fd4111c

View File

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