From 6b77d339a128f7cfd5bf00ff20b39e1e5d84c692 Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Mon, 16 Sep 2024 21:15:43 +0200 Subject: [PATCH] =?UTF-8?q?zeromq:=20Properly=20define=20fall=E2=80=90back?= =?UTF-8?q?=20cache=20line=20size?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- overlay/fixes.nix | 7 +++++++ 1 file changed, 7 insertions(+) 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 "" + ''