dune: disable for OCaml < 4.02

This commit is contained in:
Vincent Laporte 2019-07-23 19:26:00 +00:00 committed by Vincent Laporte
parent 1d102b90e6
commit c75b84a7c4

View file

@ -1,5 +1,9 @@
{ stdenv, fetchurl, ocaml, findlib, opaline }:
if !stdenv.lib.versionAtLeast ocaml.version "4.02"
then throw "dune is not available for OCaml ${ocaml.version}"
else
stdenv.mkDerivation rec {
pname = "dune";
version = "1.11.0";