ocamlPackages.sedlex: fix dependencies

This commit is contained in:
Ben Darwin 2020-04-06 10:48:42 -04:00
parent 44c20fb83e
commit 77901a96da

View file

@ -1,4 +1,4 @@
{ stdenv, fetchzip, ocaml, findlib, gen, ppx_tools_versioned }:
{ stdenv, fetchzip, ocaml, findlib, gen, ppx_tools_versioned, ocaml-migrate-parsetree }:
if !stdenv.lib.versionAtLeast ocaml.version "4.02"
then throw "sedlex is not available for OCaml ${ocaml.version}"
@ -13,9 +13,9 @@ stdenv.mkDerivation rec {
sha256 = "0phnqyn6mpv5byr1kkphl24y9q9fb2k3xg9yb457h5816q6ya72n";
};
buildInputs = [ ocaml findlib ppx_tools_versioned ];
buildInputs = [ ocaml findlib ];
propagatedBuildInputs = [ gen ];
propagatedBuildInputs = [ gen ocaml-migrate-parsetree ppx_tools_versioned ];
buildFlags = [ "all" "opt" ];