OCaml: do not depend on X11 for OCaml ≥ 4.09

This commit is contained in:
Vincent Laporte 2020-03-15 18:14:27 +01:00 committed by Vincent Laporte
parent 0229936bbe
commit 80a7615300

View file

@ -11,7 +11,7 @@ let
in
{ stdenv, fetchurl, ncurses, buildEnv
, libX11, xorgproto, useX11 ? safeX11 stdenv
, libX11, xorgproto, useX11 ? safeX11 stdenv && !stdenv.lib.versionAtLeast version "4.09"
, aflSupport ? false
, flambdaSupport ? false
}: