tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
superTuxKart: fix build on darwin
Jeremy Parker
2 years ago
250ddaff
446b09fd
+4
-3
2 changed files
expand all
collapse all
unified
split
pkgs
games
super-tux-kart
default.nix
top-level
all-packages.nix
+2
-1
pkgs/games/super-tux-kart/default.nix
···
23
, sqlite
24
, Cocoa
25
, IOKit
0
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 { };