ocamlPackages.lablgtk_2_14: disable for OCaml ≥ 4.04

This commit is contained in:
Vincent Laporte 2017-06-26 08:38:52 +02:00
parent 7df83abe85
commit 4c0203b094

View File

@ -1,5 +1,8 @@
{ stdenv, fetchurl, ocaml, findlib, pkgconfig, gtk2, libgnomecanvas, libglade, gtksourceview, camlp4 }:
if stdenv.lib.versionAtLeast ocaml.version "4.04"
then throw "lablgtk-2.14 is not available for OCaml ${ocaml.version}" else
let
pname = "lablgtk";
in