superTuxKart: fix build on darwin

+4 -3
+2 -1
pkgs/games/super-tux-kart/default.nix
··· 23 , sqlite 24 , Cocoa 25 , IOKit 26 , libsamplerate 27 , shaderc 28 }: ··· 111 ] 112 ++ lib.optional (stdenv.hostPlatform.isWindows || stdenv.hostPlatform.isLinux) libopenglrecorder 113 ++ lib.optional stdenv.hostPlatform.isLinux openal 114 - ++ lib.optionals stdenv.hostPlatform.isDarwin [ OpenAL IOKit Cocoa libsamplerate ]; 115 116 cmakeFlags = [ 117 "-DBUILD_RECORDER=${if (stdenv.hostPlatform.isWindows || stdenv.hostPlatform.isLinux) then "ON" else "OFF"}"
··· 23 , sqlite 24 , Cocoa 25 , IOKit 26 + , IOBluetooth 27 , libsamplerate 28 , shaderc 29 }: ··· 112 ] 113 ++ lib.optional (stdenv.hostPlatform.isWindows || stdenv.hostPlatform.isLinux) libopenglrecorder 114 ++ lib.optional stdenv.hostPlatform.isLinux openal 115 + ++ lib.optionals stdenv.hostPlatform.isDarwin [ OpenAL IOKit Cocoa IOBluetooth libsamplerate ]; 116 117 cmakeFlags = [ 118 "-DBUILD_RECORDER=${if (stdenv.hostPlatform.isWindows || stdenv.hostPlatform.isLinux) then "ON" else "OFF"}"
+2 -2
pkgs/top-level/all-packages.nix
··· 37753 37754 superTux = callPackage ../games/supertux { }; 37755 37756 - superTuxKart = callPackage ../games/super-tux-kart { 37757 - inherit (darwin.apple_sdk.frameworks) Cocoa IOKit OpenAL; 37758 }; 37759 37760 synthv1 = libsForQt5.callPackage ../applications/audio/synthv1 { };
··· 37753 37754 superTux = callPackage ../games/supertux { }; 37755 37756 + superTuxKart = darwin.apple_sdk_11_0.callPackage ../games/super-tux-kart { 37757 + inherit (darwin.apple_sdk_11_0.frameworks) Cocoa IOKit OpenAL IOBluetooth; 37758 }; 37759 37760 synthv1 = libsForQt5.callPackage ../applications/audio/synthv1 { };