diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-07-02 12:22:53 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-07-02 12:56:56 +0000 |
commit | 8ad273d4f06004f31c2dc7e5eff87a9343376c47 (patch) | |
tree | efb042dd1bc90b154f62234ed790ff6521aed9cc /pkgs/development/tools/ocaml/utop/default.nix | |
parent | ca15a36d0ec2b8a3597efd5bc1a1694f9aa2ce7d (diff) | |
download | nixpkgs-8ad273d4f06004f31c2dc7e5eff87a9343376c47.tar nixpkgs-8ad273d4f06004f31c2dc7e5eff87a9343376c47.tar.gz nixpkgs-8ad273d4f06004f31c2dc7e5eff87a9343376c47.tar.bz2 nixpkgs-8ad273d4f06004f31c2dc7e5eff87a9343376c47.tar.lz nixpkgs-8ad273d4f06004f31c2dc7e5eff87a9343376c47.tar.xz nixpkgs-8ad273d4f06004f31c2dc7e5eff87a9343376c47.tar.zst nixpkgs-8ad273d4f06004f31c2dc7e5eff87a9343376c47.zip |
ocamlPackages.lambda-term: 1.10 -> 1.11
Diffstat (limited to 'pkgs/development/tools/ocaml/utop/default.nix')
-rw-r--r-- | pkgs/development/tools/ocaml/utop/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
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}"; |