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}//' '="/'