diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2023-04-21 09:47:16 +0200 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2023-04-21 10:41:32 +0200 |
commit | 34122f7321d2abe79b6ca1086b02354495888563 (patch) | |
tree | 754f06adb64a9492e0ae2089ea9a14d9461b10c3 /pkgs/development/tools/ocaml | |
parent | faaa461aa8313a529aeb90adec384c80305c6704 (diff) |
ocamlPackages.ocamlmod: disable for OCaml ≥ 5.0
Diffstat (limited to 'pkgs/development/tools/ocaml')
-rw-r--r-- | pkgs/development/tools/ocaml/ocamlmod/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/tools/ocaml/ocamlmod/default.nix b/pkgs/development/tools/ocaml/ocamlmod/default.nix index 5b4f7e8e44078..ee287a92388f7 100644 --- a/pkgs/development/tools/ocaml/ocamlmod/default.nix +++ b/pkgs/development/tools/ocaml/ocamlmod/default.nix @@ -5,6 +5,9 @@ let doCheck = lib.versionAtLeast ocaml.version "4.04"; in +lib.throwIf (lib.versionAtLeast ocaml.version "5.0") + "ocamlmod is not available for OCaml ≥ 5.0" + stdenv.mkDerivation { pname = "ocamlmod"; version = "0.0.9"; |