Unverified Commit 0bb76f23 authored by Nikolay Korotkiy's avatar Nikolay Korotkiy
Browse files

the-foundation: fix build on darwin

parent afa15e2c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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}//' '="/'