ocamlPackages.piqi: fix build with OCaml 4.06

This commit is contained in:
Vincent Laporte
2018-08-22 14:58:06 +00:00
parent cf68a14a01
commit 38fa082e79
2 changed files with 16 additions and 3 deletions
@@ -1,4 +1,4 @@
{stdenv, fetchurl, ocaml, findlib, camlp4, which, ulex, easy-format, ocaml_optcomp, xmlm, base64}:
{ stdenv, fetchurl, ocaml, findlib, which, ulex, easy-format, ocaml_optcomp, xmlm, base64 }:
stdenv.mkDerivation rec {
version = "0.6.13";
@@ -9,10 +9,10 @@ stdenv.mkDerivation rec {
sha256 = "1whqr2bb3gds2zmrzqnv8vqka9928w4lx6mi6g244kmbwb2h8d8l";
};
buildInputs = [ocaml findlib camlp4 which ocaml_optcomp];
buildInputs = [ ocaml findlib which ocaml_optcomp ];
propagatedBuildInputs = [ulex xmlm easy-format base64];
patches = [ ./no-ocamlpath-override.patch ];
patches = [ ./no-ocamlpath-override.patch ./safe-string.patch ];
createFindlibDestdir = true;