From b6ecc4fec128fbd001ee587eb518a014b977cc95 Mon Sep 17 00:00:00 2001 From: Max Ammann Date: Wed, 29 Mar 2023 21:45:36 -0400 Subject: [PATCH] tracy: fix build on macos (fixes #223469) The UniformTypeIdentifiers is required for apple SDK 11+. This patch fixes the build on newwer macOS versions. --- pkgs/development/tools/tracy/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/tools/tracy/default.nix b/pkgs/development/tools/tracy/default.nix index 00e121adc718..eca65a5c46f8 100644 --- a/pkgs/development/tools/tracy/default.nix +++ b/pkgs/development/tools/tracy/default.nix @@ -19,6 +19,7 @@ in stdenv.mkDerivation rec { buildInputs = [ glfw capstone ] ++ lib.optionals stdenv.isDarwin [ Carbon AppKit freetype ] + ++ lib.optionals (stdenv.isDarwin && lib.versionAtLeast stdenv.hostPlatform.darwinMinVersion "11") [ darwin.apple_sdk.frameworks.UniformTypeIdentifiers ] ++ lib.optionals stdenv.isLinux [ gtk3 tbb dbus ]; env.NIX_CFLAGS_COMPILE = toString ([ ]