diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/labltk/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/labltk/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/labltk/default.nix b/pkgs/development/ocaml-modules/labltk/default.nix index 10555771feef..b4a4e012560e 100644 --- a/pkgs/development/ocaml-modules/labltk/default.nix +++ b/pkgs/development/ocaml-modules/labltk/default.nix @@ -1,5 +1,9 @@ { stdenv, fetchurl, ocaml, findlib, tcl, tk }: +if !stdenv.lib.versionAtLeast ocaml.version "4.04" +then throw "labltk is not available for OCaml ${ocaml.version}" +else + let param = { "4.04" = { version = "8.06.2"; |