diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/twt/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/twt/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/twt/default.nix b/pkgs/development/ocaml-modules/twt/default.nix index 46822df31fc..069cacb3407 100644 --- a/pkgs/development/ocaml-modules/twt/default.nix +++ b/pkgs/development/ocaml-modules/twt/default.nix @@ -1,5 +1,8 @@ { lib, stdenv, fetchFromGitHub, ocaml, findlib }: +lib.throwIf (lib.versionAtLeast ocaml.version "5.0") + "twt is not available for OCaml ${ocaml.version}" + stdenv.mkDerivation rec { pname = "ocaml${ocaml.version}-twt"; version = "0.94.0"; |