the-foundation: fix build on darwin

This commit is contained in:
Nikolay Korotkiy
2025-10-06 11:04:51 +04:00
parent afa15e2c8a
commit 0bb76f23df
@@ -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}//' '="/'