mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
ocamlPackages.sedlex: fix dependencies
This commit is contained in:
parent
44c20fb83e
commit
77901a96da
|
@ -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" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue