From 442f066a3f4e01dee04cb585f82e2ad262c68b25 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Tue, 12 Nov 2024 17:34:46 -0600 Subject: [PATCH] taterclient-ddnet: fix x86 darwin --- pkgs/by-name/ta/taterclient-ddnet/package.nix | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/pkgs/by-name/ta/taterclient-ddnet/package.nix b/pkgs/by-name/ta/taterclient-ddnet/package.nix index 9c912e0799e1..0b46b3614771 100644 --- a/pkgs/by-name/ta/taterclient-ddnet/package.nix +++ b/pkgs/by-name/ta/taterclient-ddnet/package.nix @@ -27,7 +27,7 @@ glslang, spirv-tools, gtest, - darwin, + apple-sdk_11, }: let clientExecutable = "TaterClient-DDNet"; @@ -80,15 +80,9 @@ stdenv.mkDerivation (finalAttrs: { spirv-tools ] ++ lib.optionals stdenv.hostPlatform.isLinux [ libX11 ] - ++ lib.optionals stdenv.hostPlatform.isDarwin ( - with darwin.apple_sdk.frameworks; - [ - Carbon - Cocoa - OpenGL - Security - ] - ); + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + apple-sdk_11 + ]; postPatch = '' substituteInPlace src/engine/shared/storage.cpp \