diff --git a/pkgs/games/ddnet/default.nix b/pkgs/games/ddnet/default.nix index 165144b7818f..7ab1ef89e2e7 100644 --- a/pkgs/games/ddnet/default.nix +++ b/pkgs/games/ddnet/default.nix @@ -8,6 +8,7 @@ pkg-config, rustPlatform, rustc, + apple-sdk_11, curl, freetype, libGLU, @@ -27,10 +28,6 @@ glslang, spirv-tools, gtest, - Carbon, - Cocoa, - OpenGL, - Security, buildClient ? true, }: @@ -91,10 +88,7 @@ stdenv.mkDerivation rec { libX11 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ - Carbon - Cocoa - OpenGL - Security + apple-sdk_11 ] ); diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 930d24a9eb82..f5123095aec2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17025,9 +17025,7 @@ with pkgs; deliantra-maps = callPackage ../games/deliantra/maps.nix { }; deliantra-data = callPackage ../games/deliantra/data.nix { }; - ddnet = callPackage ../games/ddnet { - inherit (darwin.apple_sdk.frameworks) Carbon Cocoa OpenGL Security; - }; + ddnet = callPackage ../games/ddnet {}; ddnet-server = ddnet.override { buildClient = false; }; devilutionx = callPackage ../games/devilutionx {