ocamlPackages.magick: disable for OCaml ≥ 4.06
This commit is contained in:
parent
24f47da9b3
commit
e79e66cad1
@ -1,5 +1,9 @@
|
|||||||
{ stdenv, fetchurl, which, pkgconfig, ocaml, findlib, imagemagick }:
|
{ 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 {
|
stdenv.mkDerivation {
|
||||||
name = "ocaml-magick-0.34";
|
name = "ocaml-magick-0.34";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user