diff --git a/pkgs/development/tools/ocaml/dune/1.nix b/pkgs/development/tools/ocaml/dune/1.nix index bbdbc45270d..a16b3ab23f2 100644 --- a/pkgs/development/tools/ocaml/dune/1.nix +++ b/pkgs/development/tools/ocaml/dune/1.nix @@ -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