corsix-th: update to apple-sdk pattern

This commit is contained in:
Matteo Pacini 2024-10-31 21:38:34 +00:00
parent 799fd4111c
commit 96424cbf20
2 changed files with 3 additions and 14 deletions

View File

@ -13,10 +13,7 @@
, timidity
# Darwin dependencies
, libiconv
, Cocoa
, CoreVideo
, CoreMedia
, VideoToolbox
, apple-sdk_11
# Update
, nix-update-script
}:
@ -49,13 +46,7 @@ stdenv.mkDerivation(finalAttrs: {
SDL2
SDL2_mixer
timidity
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
libiconv
Cocoa
CoreVideo
CoreMedia
VideoToolbox
];
] ++ lib.optional stdenv.hostPlatform.isDarwin apple-sdk_11;
cmakeFlags = [ "-Wno-dev" ];

View File

@ -34050,9 +34050,7 @@ with pkgs;
colobot = callPackage ../games/colobot { };
corsix-th = callPackage ../games/corsix-th {
inherit (darwin.apple_sdk.frameworks) Cocoa CoreVideo CoreMedia VideoToolbox;
};
corsix-th = callPackage ../games/corsix-th { };
enigma = callPackage ../games/enigma { };