3
0
Fork 0
forked from mirrors/nixpkgs

ocamlPackages.bolt: disable for OCaml ≥ 4.06

This commit is contained in:
Vincent Laporte 2018-08-21 13:35:54 +00:00
parent efbc322c9f
commit 09821d23ba
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -5,6 +5,10 @@ let inherit (stdenv.lib) getVersion versionAtLeast; in
assert versionAtLeast (getVersion ocaml) "4.00.0";
assert versionAtLeast (getVersion findlib) "1.3.3";
if versionAtLeast ocaml.version "4.06"
then throw "bolt is not available for OCaml ${ocaml.version}"
else
stdenv.mkDerivation rec {
name = "bolt-1.4";