ocamlPackages.topkg: requires OCaml ≥ 4.01

This commit is contained in:
Vincent Laporte 2017-07-10 20:15:42 +02:00
parent 07f27eddae
commit 79ddb5d5e0

View File

@ -1,5 +1,9 @@
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, result, opam }:
if !stdenv.lib.versionAtLeast ocaml.version "4.01"
then throw "topkg is not available for OCaml ${ocaml.version}"
else
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-topkg-${version}";
version = "0.8.1";