diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/tezos/lwt-result-stdlib.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/tezos/lwt-result-stdlib.nix | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/development/ocaml-modules/tezos/lwt-result-stdlib.nix b/pkgs/development/ocaml-modules/tezos/lwt-result-stdlib.nix index 89c15b0f6345f..fd209741b3f6f 100644 --- a/pkgs/development/ocaml-modules/tezos/lwt-result-stdlib.nix +++ b/pkgs/development/ocaml-modules/tezos/lwt-result-stdlib.nix @@ -3,26 +3,22 @@ , ocaml , tezos-stdlib , lwt -, alcotest , alcotest-lwt , tezos-test-helpers }: -if lib.versionAtLeast ocaml.version "4.12" then - throw "tezos-lwt-result-stdlib-${tezos-stdlib.version} is not available for OCaml > 4.10" -else - buildDunePackage { pname = "tezos-lwt-result-stdlib"; inherit (tezos-stdlib) version useDune2; src = "${tezos-stdlib.base_src}/src/lib_lwt_result_stdlib"; + minimalOCamlVersion = "4.12"; + propagatedBuildInputs = [ lwt ]; checkInputs = [ - alcotest alcotest-lwt tezos-test-helpers ]; |