From 0bb76f23dfcd41ff5e4f3ce024b0ccefbeddf804 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Mon, 6 Oct 2025 11:04:51 +0400 Subject: [PATCH] the-foundation: fix build on darwin --- pkgs/by-name/th/the-foundation/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/th/the-foundation/package.nix b/pkgs/by-name/th/the-foundation/package.nix index 544fa5237751..257c947a3ad0 100644 --- a/pkgs/by-name/th/the-foundation/package.nix +++ b/pkgs/by-name/th/the-foundation/package.nix @@ -40,6 +40,8 @@ stdenv.mkDerivation (finalAttrs: { (lib.cmakeFeature "UNISTRING_DIR" "${libunistring}") ]; + env.NIX_CFLAGS_COMPILE = "-Wno-error=attribute-warning"; + postFixup = '' substituteInPlace "$out"/lib/pkgconfig/the_Foundation.pc \ --replace '="''${prefix}//' '="/'