From 8ad273d4f06004f31c2dc7e5eff87a9343376c47 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sun, 2 Jul 2017 12:22:53 +0000 Subject: ocamlPackages.lambda-term: 1.10 -> 1.11 --- pkgs/development/tools/ocaml/utop/default.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkgs/development/tools') diff --git a/pkgs/development/tools/ocaml/utop/default.nix b/pkgs/development/tools/ocaml/utop/default.nix index 9e394751761..0f73f4c54af 100644 --- a/pkgs/development/tools/ocaml/utop/default.nix +++ b/pkgs/development/tools/ocaml/utop/default.nix @@ -2,6 +2,10 @@ , lambdaTerm, ocaml_lwt, camomile, zed, cppo, ppx_tools, makeWrapper }: +if !stdenv.lib.versionAtLeast ocaml.version "4.02" +then throw "utop is not available for OCaml ${ocaml.version}" +else + stdenv.mkDerivation rec { version = "1.19.3"; name = "utop-${version}"; -- cgit 1.4.1