diff --git a/overlay/fixes.nix b/overlay/fixes.nix index a441e91..916b4a7 100644 --- a/overlay/fixes.nix +++ b/overlay/fixes.nix @@ -29,6 +29,13 @@ in { ++ [ "-DGL_CLAMP=GL_CLAMP_TO_EDGE" ] |> toString; }; }); + + zeromq = prev.zeromq.overrideAttrs (prevAttrs: { + postPatch = prevAttrs.postPatch or "" + '' + substituteInPlace CMakeLists.txt \ + --replace-fail 'CACHELINE_SIZE EQUAL "undefined"' 'CACHELINE_SIZE STREQUAL "undefined"' + ''; + }); } // optionalAttrs hostPlatform.isRiscV64 ({ boehmgc = prev.boehmgc.overrideAttrs (prevAttrs: { postPatch = prevAttrs.postPatch or "" + ''