about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-08-06 00:50:30 +0200
committerGitHub <noreply@github.com>2023-08-06 00:50:30 +0200
commitc447ba5801ec3055a5e33fcbfba35649a8a1301e (patch)
tree3039bde20505f2abfbd549abba9e5469844d3661
parenta62f04fdd9c8afefffa0c33f249464866bf855aa (diff)
parent250ddaff9eff9a7dc71ad101d12e3124fec7cd30 (diff)
downloadnixlib-c447ba5801ec3055a5e33fcbfba35649a8a1301e.tar
nixlib-c447ba5801ec3055a5e33fcbfba35649a8a1301e.tar.gz
nixlib-c447ba5801ec3055a5e33fcbfba35649a8a1301e.tar.bz2
nixlib-c447ba5801ec3055a5e33fcbfba35649a8a1301e.tar.lz
nixlib-c447ba5801ec3055a5e33fcbfba35649a8a1301e.tar.xz
nixlib-c447ba5801ec3055a5e33fcbfba35649a8a1301e.tar.zst
nixlib-c447ba5801ec3055a5e33fcbfba35649a8a1301e.zip
Merge pull request #244180 from nrhtr/fix-supertuxkart-darwin
superTuxKart: fix missing dependency on darwin
-rw-r--r--pkgs/games/super-tux-kart/default.nix3
-rw-r--r--pkgs/top-level/all-packages.nix4
2 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/games/super-tux-kart/default.nix b/pkgs/games/super-tux-kart/default.nix
index b20d00a8da4e..d92f01cad37a 100644
--- a/pkgs/games/super-tux-kart/default.nix
+++ b/pkgs/games/super-tux-kart/default.nix
@@ -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"}"
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index d47cccc576b2..1592b3c496c0 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -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 { };