dune: disable for OCaml < 4.02
This commit is contained in:
parent
1d102b90e6
commit
c75b84a7c4
@ -1,5 +1,9 @@
|
|||||||
{ stdenv, fetchurl, ocaml, findlib, opaline }:
|
{ 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 {
|
stdenv.mkDerivation rec {
|
||||||
pname = "dune";
|
pname = "dune";
|
||||||
version = "1.11.0";
|
version = "1.11.0";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user