diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/tezos/protocol-compiler.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/tezos/protocol-compiler.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/ocaml-modules/tezos/protocol-compiler.nix b/pkgs/development/ocaml-modules/tezos/protocol-compiler.nix index 6178fb6c0811f..ac72c518e8275 100644 --- a/pkgs/development/ocaml-modules/tezos/protocol-compiler.nix +++ b/pkgs/development/ocaml-modules/tezos/protocol-compiler.nix @@ -2,14 +2,14 @@ , buildDunePackage , ocaml , tezos-stdlib +, tezos-version , tezos-protocol-environment , ocp-ocamlres -, re , pprint }: -if lib.versionAtLeast ocaml.version "4.12" then - throw "tezos-protocol-compiler-${tezos-stdlib.version} is not available for OCaml > 4.10" +if lib.versionAtLeast ocaml.version "4.13" then + throw "tezos-protocol-compiler-${tezos-stdlib.version} is not available for OCaml > 4.12" else buildDunePackage { @@ -17,12 +17,12 @@ buildDunePackage { inherit (tezos-stdlib) version useDune2; src = "${tezos-stdlib.base_src}/src/lib_protocol_compiler"; - minimalOCamlVersion = "4.10"; + minimalOCamlVersion = "4.12"; propagatedBuildInputs = [ + tezos-version tezos-protocol-environment ocp-ocamlres - re pprint ]; |