1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

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