commit ad50e37cca0852dc9190ffcbfaf0e1fdec44b8c8
parent 43ec3b436eeadad142b2b9354c035158789aebd2
Author: Daniel Barlow <dan@telent.net>
Date: Mon, 23 Feb 2026 23:52:17 +0000
patch cmake version in luaprofiler
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/pkgs/maps/shell.nix b/pkgs/maps/shell.nix
@@ -29,6 +29,9 @@ let
hash = "sha256-43kwZCZZmWD5ens1qCzD7LTg/jKMfcb9Vw/DBiN2sSo=";
};
buildInputs = [ lua ];
+ postPatch = ''
+ sed -i.bak -e 's/VERSION 2.8/VERSION 3.5/' CMakeLists.txt
+ '';
installPhase = ''
mkdir -p "$out/lib/lua/${lua.luaversion}"
echo cp /build/source/bin/release/libluaperf.so "$out/lib/lua/${lua.luaversion}"