ocamlPackages.vcaml: fix build with ppxlib > 0.30
This commit is contained in:
parent
540ae8b935
commit
b0d981402e
@ -1221,6 +1221,7 @@ with self;
|
||||
hash = "sha256-pmEKi24+22T76SzI3RpBmQF7ZrQwlngrpFYLoBdLwe0=";
|
||||
meta.description = "OCaml bindings for the Neovim API";
|
||||
propagatedBuildInputs = [ angstrom-async async_extra expect_test_helpers_async faraday jsonaf man_in_the_middle_debugger semantic_version ];
|
||||
patches = [ ./vcaml.patch ];
|
||||
};
|
||||
|
||||
virtual_dom = janePackage {
|
||||
|
22
pkgs/development/ocaml-modules/janestreet/vcaml.patch
Normal file
22
pkgs/development/ocaml-modules/janestreet/vcaml.patch
Normal file
@ -0,0 +1,22 @@
|
||||
diff --git a/src/api_call.ml b/src/api_call.ml
|
||||
index 66f5083..6e96e95 100644
|
||||
--- a/src/api_call.ml
|
||||
+++ b/src/api_call.ml
|
||||
@@ -112,7 +112,7 @@ include
|
||||
include T
|
||||
end)
|
||||
(Open_on_rhs_intf)
|
||||
- ()
|
||||
+ (struct end)
|
||||
|
||||
module Or_error = struct
|
||||
type nonrec 'a t = 'a Or_error.t t
|
||||
@@ -138,7 +138,7 @@ module Or_error = struct
|
||||
include T
|
||||
end)
|
||||
(Open_on_rhs_intf)
|
||||
- ()
|
||||
+ (struct end)
|
||||
|
||||
let error_s sexp = Const (Or_error.error_s sexp)
|
||||
let ignore_m t = map t ~f:ignore
|
Loading…
Reference in New Issue
Block a user