ddnet: fix x86 darwin

Aligned alloc requires higher sdk.
This commit is contained in:
Austin Horstman 2024-11-13 08:28:41 -06:00
parent b761a3a403
commit a4c1840b8d
No known key found for this signature in database
2 changed files with 3 additions and 11 deletions

View File

@ -8,6 +8,7 @@
pkg-config, pkg-config,
rustPlatform, rustPlatform,
rustc, rustc,
apple-sdk_11,
curl, curl,
freetype, freetype,
libGLU, libGLU,
@ -27,10 +28,6 @@
glslang, glslang,
spirv-tools, spirv-tools,
gtest, gtest,
Carbon,
Cocoa,
OpenGL,
Security,
buildClient ? true, buildClient ? true,
}: }:
@ -91,10 +88,7 @@ stdenv.mkDerivation rec {
libX11 libX11
] ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ ++ lib.optionals stdenv.hostPlatform.isDarwin [
Carbon apple-sdk_11
Cocoa
OpenGL
Security
] ]
); );

View File

@ -17025,9 +17025,7 @@ with pkgs;
deliantra-maps = callPackage ../games/deliantra/maps.nix { }; deliantra-maps = callPackage ../games/deliantra/maps.nix { };
deliantra-data = callPackage ../games/deliantra/data.nix { }; deliantra-data = callPackage ../games/deliantra/data.nix { };
ddnet = callPackage ../games/ddnet { ddnet = callPackage ../games/ddnet {};
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa OpenGL Security;
};
ddnet-server = ddnet.override { buildClient = false; }; ddnet-server = ddnet.override { buildClient = false; };
devilutionx = callPackage ../games/devilutionx { devilutionx = callPackage ../games/devilutionx {