ocaml: nocrypto: fix dependency on ppx_tools

This commit is contained in:
Alexander Bantyev 2019-11-20 15:06:08 +03:00
parent 81384e0f0c
commit 78ec0e60c2
No known key found for this signature in database
GPG key ID: E081FF12ADCB4AD5

View file

@ -1,6 +1,6 @@
{ stdenv, fetchurl, fetchpatch, ocaml, findlib, ocamlbuild, topkg
, cpuid, ocb-stubblr, sexplib
, cstruct, zarith, ppx_sexp_conv, writeScriptBin
, cstruct, zarith, ppx_sexp_conv, ppx_deriving, writeScriptBin
, cstruct-lwt ? null
}:
@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
];
nativeBuildInputs = [ ocaml findlib ocamlbuild cc-wrapper ];
buildInputs = [ ocamlbuild findlib topkg cpuid ocb-stubblr ];
buildInputs = [ ocamlbuild findlib topkg cpuid ocb-stubblr ppx_deriving ];
propagatedBuildInputs = [ cstruct ppx_sexp_conv sexplib zarith ] ++ optional withLwt cstruct-lwt;
buildPhase = "${topkg.buildPhase} --with-lwt ${boolToString withLwt}";