coqPackages_8_16.coq-lsp: fix for recent findlib

This commit is contained in:
Vincent Laporte 2024-11-14 21:22:42 +01:00
parent 8530d4c332
commit c459597ac0
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- a/coq/loader.ml 2024-11-14 17:54:36.562137810 +0100
+++ b/coq/loader.ml 2024-11-14 17:55:01.485154767 +0100
@@ -81,7 +81,7 @@
Exninfo.iraise iexn
let plugin_handler user_loader =
- let loader = Option.default (Fl_dynload.load_packages ~debug:false) user_loader in
+ let loader = Option.default (Fl_dynload.load_packages ?loadfile:None ~debug:false) user_loader in
let safe_loader = safe_loader loader in
fun fl_pkg ->
let _, fl_pkg = Mltop.PluginSpec.repr fl_pkg in

View File

@ -49,4 +49,6 @@
else
[ cmdliner ppx_deriving ppx_deriving_yojson ppx_import ppx_sexp_conv
ppx_compare ppx_hash sexplib ]);
patches = lib.optional (lib.versions.isEq "0.1.8" o.version) ./coq-loader.patch;
})