diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/elpi/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/elpi/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/elpi/default.nix b/pkgs/development/ocaml-modules/elpi/default.nix index cc53f25b578cc..1c60c963ed911 100644 --- a/pkgs/development/ocaml-modules/elpi/default.nix +++ b/pkgs/development/ocaml-modules/elpi/default.nix @@ -36,9 +36,12 @@ buildDunePackage rec { minimalOCamlVersion = "4.04"; - buildInputs = [ perl ncurses ] + # atdgen is both a library and executable + nativeBuildInputs = [ perl camlp5 ] ++ lib.optional (lib.versionAtLeast version "1.15" || version == "dev") menhir ++ lib.optional (lib.versionAtLeast version "1.16" || version == "dev") atdgen; + buildInputs = [ ncurses ] + ++ lib.optional (lib.versionAtLeast version "1.16" || version == "dev") atdgen; propagatedBuildInputs = [ re stdlib-shims ] ++ (if lib.versionAtLeast version "1.15" || version == "dev" |