aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/xtmpl
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2020-11-30 08:18:26 +0100
committerVincent Laporte <vbgl@users.noreply.github.com>2020-12-05 17:13:44 +0100
commitd2727446df79b4502c0eed65d32f881f1b699a51 (patch)
tree3eea96418c09383548d75178452db17af9100eb1 /pkgs/development/ocaml-modules/xtmpl
parentb3193b24e448c5a7d8434db56dead638f53b8cde (diff)
ocamlPackages.xtmpl: disable for OCaml ≥ 4.11
Diffstat (limited to 'pkgs/development/ocaml-modules/xtmpl')
-rw-r--r--pkgs/development/ocaml-modules/xtmpl/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/xtmpl/default.nix b/pkgs/development/ocaml-modules/xtmpl/default.nix
index 2264f0dedbf9..31c671538a58 100644
--- a/pkgs/development/ocaml-modules/xtmpl/default.nix
+++ b/pkgs/development/ocaml-modules/xtmpl/default.nix
@@ -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 {