From e468b311bc04ad3b46791474dee3f09fdd744832 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 15 Oct 2015 00:29:33 +0200 Subject: eliom: requires OCaml >= 4 --- pkgs/development/ocaml-modules/eliom/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/development/ocaml-modules/eliom') diff --git a/pkgs/development/ocaml-modules/eliom/default.nix b/pkgs/development/ocaml-modules/eliom/default.nix index 7fe26863b3d3..23959306d2d4 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"; -- cgit 1.4.1