Merge pull request #244180 from nrhtr/fix-supertuxkart-darwin

superTuxKart: fix missing dependency on darwin
This commit is contained in:
Weijia Wang 2023-08-06 00:50:30 +02:00 committed by GitHub
commit c447ba5801
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -23,6 +23,7 @@
, sqlite
, Cocoa
, IOKit
, IOBluetooth
, libsamplerate
, shaderc
}:
@ -111,7 +112,7 @@ stdenv.mkDerivation rec {
]
++ lib.optional (stdenv.hostPlatform.isWindows || stdenv.hostPlatform.isLinux) libopenglrecorder
++ lib.optional stdenv.hostPlatform.isLinux openal
++ lib.optionals stdenv.hostPlatform.isDarwin [ OpenAL IOKit Cocoa libsamplerate ];
++ lib.optionals stdenv.hostPlatform.isDarwin [ OpenAL IOKit Cocoa IOBluetooth libsamplerate ];
cmakeFlags = [
"-DBUILD_RECORDER=${if (stdenv.hostPlatform.isWindows || stdenv.hostPlatform.isLinux) then "ON" else "OFF"}"

View file

@ -38021,8 +38021,8 @@ with pkgs;
superTux = callPackage ../games/supertux { };
superTuxKart = callPackage ../games/super-tux-kart {
inherit (darwin.apple_sdk.frameworks) Cocoa IOKit OpenAL;
superTuxKart = darwin.apple_sdk_11_0.callPackage ../games/super-tux-kart {
inherit (darwin.apple_sdk_11_0.frameworks) Cocoa IOKit OpenAL IOBluetooth;
};
synthv1 = libsForQt5.callPackage ../applications/audio/synthv1 { };