ocaml-ng.ocamlPackages_4_02.bdd: fix build
This commit is contained in:
parent
c1943858c7
commit
9b419c67cf
|
@ -17,6 +17,12 @@ buildDunePackage {
|
||||||
hash = "sha256-3mJZlAFQsI7AgrNQOe6N94CDfX5gXYqQBooV0jcoYEA=";
|
hash = "sha256-3mJZlAFQsI7AgrNQOe6N94CDfX5gXYqQBooV0jcoYEA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Fix build with OCaml 4.02
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace lib/bdd.ml \
|
||||||
|
--replace "Buffer.truncate Format.stdbuf 0;" "Buffer.clear Format.stdbuf;"
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
stdlib-shims
|
stdlib-shims
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue