Merge pull request #84481 from bcdarwin/fix-sedlex-inputs

ocamlPackages.sedlex: fix dependencies
This commit is contained in:
Jörg Thalheim 2020-04-06 16:07:27 +01:00 committed by GitHub
commit d266ad7d2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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" ];