postgresql13Packages.lantern: fix build with cmake4 (#455635)

This commit is contained in:
Maximilian Bosch
2025-10-27 10:38:54 +00:00
committed by GitHub
@@ -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
'';