ocamlPackages.ocaml_cairo: disable for OCaml ≥ 4.06
This commit is contained in:
parent
450e358040
commit
ebd62e2423
1 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,10 @@ let
|
|||
pname = "ocaml-cairo";
|
||||
in
|
||||
|
||||
if stdenv.lib.versionAtLeast ocaml.version "4.06"
|
||||
then throw "${pname} is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
version = "1.2.0";
|
||||
|
|
Loading…
Reference in a new issue