ocamlPackages.dune_1: disable for OCaml ≥ 4.12
This commit is contained in:
parent
60785fe4db
commit
a104d2b18c
@ -1,6 +1,7 @@
|
|||||||
{ stdenv, lib, fetchurl, ocaml, findlib }:
|
{ stdenv, lib, fetchurl, ocaml, findlib }:
|
||||||
|
|
||||||
if !lib.versionAtLeast ocaml.version "4.02"
|
if !lib.versionAtLeast ocaml.version "4.02"
|
||||||
|
|| lib.versionAtLeast ocaml.version "4.12"
|
||||||
then throw "dune is not available for OCaml ${ocaml.version}"
|
then throw "dune is not available for OCaml ${ocaml.version}"
|
||||||
else
|
else
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user