ocamlPackages.camlimages_4_1: disable for OCaml ≥ 4.06
This commit is contained in:
parent
09821d23ba
commit
354dedfec3
1 changed files with 4 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue