mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-22 13:29:00 +02:00
ocamlPackages.elpi: fix camlp5 dependency
This commit is contained in:
parent
bfc4fea848
commit
935d0e208a
|
@ -37,8 +37,8 @@ buildDunePackage rec {
|
|||
minimalOCamlVersion = "4.04";
|
||||
|
||||
# atdgen is both a library and executable
|
||||
nativeBuildInputs = [ perl camlp5 ]
|
||||
++ lib.optional (lib.versionAtLeast version "1.15" || version == "dev") menhir
|
||||
nativeBuildInputs = [ perl ]
|
||||
++ [ (if lib.versionAtLeast version "1.15" || version == "dev" then menhir else camlp5) ]
|
||||
++ lib.optional (lib.versionAtLeast version "1.16" || version == "dev") atdgen;
|
||||
buildInputs = [ ncurses ]
|
||||
++ lib.optional (lib.versionAtLeast version "1.16" || version == "dev") atdgen;
|
||||
|
|
Loading…
Reference in a new issue