ocamlPackages.mlgmp: disable for OCaml ≥ 4.03

This commit is contained in:
Vincent Laporte 2017-06-26 19:38:47 +02:00
parent ac83ef3994
commit 456089b74d

View File

@ -1,5 +1,8 @@
{stdenv, fetchurl, ocaml, findlib, gmp, mpfr, ncurses }: {stdenv, fetchurl, ocaml, findlib, gmp, mpfr, ncurses }:
if stdenv.lib.versionAtLeast ocaml.version "4.03"
then throw "mlgmp is not available for OCaml ${ocaml.version}" else
let let
pname = "mlgmp"; pname = "mlgmp";
in in