ocamlPackages.piqi-ocaml: fix build with OCaml 4.06

This commit is contained in:
Vincent Laporte
2018-07-23 17:23:07 +00:00
parent 38fa082e79
commit c63e5c13d2

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, ocaml, findlib, piqi, camlp4 }:
{ stdenv, fetchurl, fetchpatch, ocaml, findlib, piqi, camlp4 }:
stdenv.mkDerivation rec {
version = "0.7.5";
@@ -9,6 +9,11 @@ stdenv.mkDerivation rec {
sha256 = "0ngz6y8i98i5v2ma8nk6mc83pdsmf2z0ks7m3xi6clfg3zqbddrv";
};
patches = [ (fetchpatch {
url = https://github.com/alavrik/piqi-ocaml/commit/336e8fdb84e77f4105e9bbb5ab545b8729101308.patch;
sha256 = "071s4xjyr6xx95v6az2lbl2igc87n7z5jqnnbhfq2pidrxakd0la";
})];
buildInputs = [ ocaml findlib piqi camlp4 ];
createFindlibDestdir = true;