ocamlPackages.magick: disable for OCaml ≥ 4.06

This commit is contained in:
Vincent Laporte
2018-08-21 18:35:50 +00:00
parent 24f47da9b3
commit e79e66cad1

View File

@@ -1,5 +1,9 @@
{ stdenv, fetchurl, which, pkgconfig, ocaml, findlib, imagemagick }:
if stdenv.lib.versionAtLeast ocaml.version "4.06"
then throw "magick is not available for OCaml ${ocaml.version}"
else
stdenv.mkDerivation {
name = "ocaml-magick-0.34";
src = fetchurl {