ocamlPackages.camlp5: disable for OCaml ≥ 4.13

This commit is contained in:
Vincent Laporte 2021-10-14 18:48:16 +02:00 committed by Vincent Laporte
parent f73281a727
commit 315ed6fad0

View file

@ -1,6 +1,7 @@
{ lib, stdenv, fetchFromGitHub, ocaml, perl }:
if lib.versionOlder ocaml.version "4.02"
|| lib.versionOlder "4.13" ocaml.version
then throw "camlp5 is not available for OCaml ${ocaml.version}"
else