diff options
author | Max Ammann <max@maxammann.org> | 2023-03-29 21:45:36 -0400 |
---|---|---|
committer | Max Ammann <max@maxammann.org> | 2023-03-30 20:36:32 -0400 |
commit | b6ecc4fec128fbd001ee587eb518a014b977cc95 (patch) | |
tree | 8f3d177dcc8ac6c1eaea329b09800dc800cca9b8 /pkgs/development/tools/tracy | |
parent | 4e416a8e847057c49e73be37ae8dc4fcdfe9eff8 (diff) |
tracy: fix build on macos (fixes #223469)
The UniformTypeIdentifiers is required for apple SDK 11+. This patch fixes the build on newwer macOS versions.
Diffstat (limited to 'pkgs/development/tools/tracy')
-rw-r--r-- | pkgs/development/tools/tracy/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/tools/tracy/default.nix b/pkgs/development/tools/tracy/default.nix index 00e121adc7185..eca65a5c46f87 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 ([ ] |