ocamlPackages.ocaml_cairo: disable for OCaml ≥ 4.06

wip/yesman
Vincent Laporte 6 years ago
parent 450e358040
commit ebd62e2423
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F
  1. 4
      pkgs/development/ocaml-modules/ocaml-cairo/default.nix

@ -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…
Cancel
Save