diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-07-23 17:23:07 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-08-22 14:58:06 +0000 |
commit | c63e5c13d271dbdc534d477c494a08463d8f53f9 (patch) | |
tree | b903aeb9e79cac3ee4d5f81201b732da11f15ca7 /pkgs/development/ocaml-modules | |
parent | 38fa082e79751534f40fdb8f4226019258a1c176 (diff) | |
download | nixlib-c63e5c13d271dbdc534d477c494a08463d8f53f9.tar nixlib-c63e5c13d271dbdc534d477c494a08463d8f53f9.tar.gz nixlib-c63e5c13d271dbdc534d477c494a08463d8f53f9.tar.bz2 nixlib-c63e5c13d271dbdc534d477c494a08463d8f53f9.tar.lz nixlib-c63e5c13d271dbdc534d477c494a08463d8f53f9.tar.xz nixlib-c63e5c13d271dbdc534d477c494a08463d8f53f9.tar.zst nixlib-c63e5c13d271dbdc534d477c494a08463d8f53f9.zip |
ocamlPackages.piqi-ocaml: fix build with OCaml 4.06
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/piqi-ocaml/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/piqi-ocaml/default.nix b/pkgs/development/ocaml-modules/piqi-ocaml/default.nix index 38b56ac7beb1..bbe38ac89942 100644 --- a/pkgs/development/ocaml-modules/piqi-ocaml/default.nix +++ b/pkgs/development/ocaml-modules/piqi-ocaml/default.nix @@ -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; |