mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
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=";
|
||||
};
|
||||
|
||||
# Fix build with OCaml 4.02
|
||||
postPatch = ''
|
||||
substituteInPlace lib/bdd.ml \
|
||||
--replace "Buffer.truncate Format.stdbuf 0;" "Buffer.clear Format.stdbuf;"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
stdlib-shims
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue