ocamlPackages.mlgmp: disable for OCaml ≥ 4.03
commit456089b74db4d93e33dff2c3f8abd58f6281f738
authorVincent Laporte <Vincent.Laporte@gmail.com>
dateMon 26 Jun 2017, 19:38 (9 years ago)
parentac83ef3
pkgs/development/ocaml-modules/mlgmp/default.nix+3
@@ -1,5 +1,8 @@
11{stdenv, fetchurl, ocaml, findlib, gmp, mpfr, ncurses }:
22
3+if stdenv.lib.versionAtLeast ocaml.version "4.03"
4+then throw "mlgmp is not available for OCaml ${ocaml.version}" else
5+
36let
47 pname = "mlgmp";
58in