diff --git a/pkgs/applications/emulators/86box/default.nix b/pkgs/applications/emulators/86box/default.nix index efdc4ff0d860..f9c25f94a4ba 100644 --- a/pkgs/applications/emulators/86box/default.nix +++ b/pkgs/applications/emulators/86box/default.nix @@ -1,6 +1,6 @@ { stdenv, - darwin, + apple-sdk_11, lib, fetchFromGitHub, cmake, @@ -91,7 +91,7 @@ stdenv.mkDerivation (finalAttrs: { ++ lib.optional stdenv.hostPlatform.isLinux alsa-lib ++ lib.optional enableWayland wayland ++ lib.optional enableVncRenderer libvncserver - ++ lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk_11_0.libs.xpc; + ++ lib.optional stdenv.hostPlatform.isDarwin apple-sdk_11; cmakeFlags = lib.optional stdenv.hostPlatform.isDarwin "-DCMAKE_MACOSX_BUNDLE=OFF" diff --git a/pkgs/games/augustus/default.nix b/pkgs/games/augustus/default.nix index 5b94777dea69..c2b116f269f2 100644 --- a/pkgs/games/augustus/default.nix +++ b/pkgs/games/augustus/default.nix @@ -7,6 +7,7 @@ SDL2_mixer, libpng, darwin, + apple-sdk_11, libicns, imagemagick, }: @@ -36,7 +37,7 @@ stdenv.mkDerivation rec { SDL2 SDL2_mixer 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 '' runHook preInstall diff --git a/pkgs/games/corsix-th/default.nix b/pkgs/games/corsix-th/default.nix index 4dee7418cb89..fd5260679ce7 100644 --- a/pkgs/games/corsix-th/default.nix +++ b/pkgs/games/corsix-th/default.nix @@ -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" ]; diff --git a/pkgs/games/julius/default.nix b/pkgs/games/julius/default.nix index f5f5bb6d1eb4..6c85b45b0e10 100644 --- a/pkgs/games/julius/default.nix +++ b/pkgs/games/julius/default.nix @@ -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 diff --git a/pkgs/games/shipwright/default.nix b/pkgs/games/shipwright/default.nix index 2ff8c063f5f0..ee23cbc332bf 100644 --- a/pkgs/games/shipwright/default.nix +++ b/pkgs/games/shipwright/default.nix @@ -25,12 +25,9 @@ , zenity , makeWrapper , darwin +, apple-sdk_11 , libicns }: -let - inherit (darwin.apple_sdk_11_0.frameworks) - IOSurface Metal QuartzCore Cocoa AVFoundation; -in stdenv.mkDerivation (finalAttrs: { pname = "shipwright"; version = "8.0.6"; @@ -85,14 +82,7 @@ stdenv.mkDerivation (finalAttrs: { libXext libpulseaudio zenity - ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ - IOSurface - Metal - QuartzCore - Cocoa - AVFoundation - darwin.apple_sdk_11_0.libs.simd - ]; + ] ++ lib.optional stdenv.hostPlatform.isDarwin apple-sdk_11; cmakeFlags = [ (lib.cmakeBool "NON_PORTABLE" true) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 55968eed1355..8ce1d7895a9e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -33925,9 +33925,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 { }; @@ -33965,9 +33963,7 @@ with pkgs; keeperrl = callPackage ../games/keeperrl { }; - shipwright = callPackage ../games/shipwright { - stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv; - }; + shipwright = callPackage ../games/shipwright { }; wipeout-rewrite = callPackage ../games/wipeout-rewrite { inherit (darwin.apple_sdk.frameworks) Foundation;