ocamlPackages.dune_1: disable for OCaml ≥ 4.12

This commit is contained in:
Vincent Laporte
2021-03-07 12:07:14 +01:00
committed by Vincent Laporte
parent 60785fe4db
commit a104d2b18c
+1
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