ocamlPackages.xtmpl: disable for OCaml ≥ 4.11

This commit is contained in:
Vincent Laporte 2020-11-30 08:18:26 +01:00 committed by Vincent Laporte
parent b3193b24e4
commit d2727446df

View file

@ -2,6 +2,7 @@
, js_of_ocaml-ppx, re }:
if stdenv.lib.versionOlder ocaml.version "4.03"
|| stdenv.lib.versionAtLeast ocaml.version "4.11"
then throw "xtmpl not supported for ocaml ${ocaml.version}"
else
stdenv.mkDerivation rec {