postgresql13Packages.lantern: fix build with cmake4

This commit is contained in:
Rafael Ieda
2025-10-25 17:34:12 -03:00
parent 9d4915aa6e
commit ee94892bd8
@@ -21,6 +21,9 @@ postgresqlBuildExtension (finalAttrs: {
};
postPatch = ''
substituteInPlace lantern_hnsw/CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 3.3)" "cmake_minimum_required(VERSION 3.10)"
patchShebangs --build lantern_hnsw/scripts/link_llvm_objects.sh
'';