ocamlPackages: make explicit some version requirements

This commit is contained in:
Vincent Laporte
2017-04-28 16:19:58 +00:00
parent 1bacfb4637
commit 752351e889
3 changed files with 9 additions and 0 deletions
@@ -2,6 +2,9 @@
, bos, cmdliner, ocamlgraph
}:
if !stdenv.lib.versionAtLeast ocaml.version "4.03"
then throw "functoria is not available for OCaml ${ocaml.version}" else
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-functoria-${version}";
version = "2.0.2";