diff --git a/pkgs/development/ocaml-modules/eliom/default.nix b/pkgs/development/ocaml-modules/eliom/default.nix index 7fe26863b3d..23959306d2d 100644 --- a/pkgs/development/ocaml-modules/eliom/default.nix +++ b/pkgs/development/ocaml-modules/eliom/default.nix @@ -3,6 +3,8 @@ ipaddr, ocamlnet, ocaml_ssl, ocaml_pcre, ocaml_optcomp, reactivedata, opam}: +assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4"; + stdenv.mkDerivation rec { pname = "eliom";