ocamlPackages.dune_1: disable for OCaml ≥ 4.12

This commit is contained in:
Vincent Laporte 2021-02-26 17:35:46 +01:00 committed by Vincent Laporte
parent 60785fe4db
commit a104d2b18c

View File

@ -1,6 +1,7 @@
{ stdenv, lib, fetchurl, ocaml, findlib }:
if !lib.versionAtLeast ocaml.version "4.02"
|| lib.versionAtLeast ocaml.version "4.12"
then throw "dune is not available for OCaml ${ocaml.version}"
else