Unverified Commit ee94892b authored by Rafael Ieda's avatar Rafael Ieda
Browse files

postgresql13Packages.lantern: fix build with cmake4

parent 9d4915aa
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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
  '';