ocamlPackages.camlimages_4_1: disable for OCaml ≥ 4.06

This commit is contained in:
Vincent Laporte 2018-08-21 13:40:03 +00:00
parent 09821d23ba
commit 354dedfec3
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -2,6 +2,10 @@
assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.00";
if stdenv.lib.versionAtLeast ocaml.version "4.06"
then throw "camlimages-4.1.2 is not available for OCaml ${ocaml.version}"
else
let
pname = "camlimages";
version = "4.1.2";