mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 12:22:37 +03:00
compatibility fix of ocaml-extlib for ocaml 4.00.0.
This commit is contained in:
parent
2d09dbf8fc
commit
26b4e2a286
@ -8,6 +8,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "ca6d69adeba4242ce41c02a23746ba1e464c0bbec66e2d16b02c3c6e85dc10aa";
|
||||
};
|
||||
|
||||
patches = [ ./hashtable-ocaml4-compat.patch ];
|
||||
buildInputs = [ocaml findlib];
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
@ -0,0 +1,12 @@
|
||||
Revision 396 from the official extlib repository.
|
||||
|
||||
--- extlib/extHashtbl.ml (revision 395)
|
||||
+++ extlib/extHashtbl.ml (working copy)
|
||||
@@ -32,6 +32,7 @@
|
||||
}
|
||||
|
||||
include Hashtbl
|
||||
+ let create n = Hashtbl.create (* no seed *) n
|
||||
|
||||
external h_conv : ('a, 'b) t -> ('a, 'b) h_t = "%identity"
|
||||
external h_make : ('a, 'b) h_t -> ('a, 'b) t = "%identity"
|
Loading…
Reference in New Issue
Block a user