forked from mirrors/nixpkgs
ocamlPackages.bolt: disable for OCaml ≥ 4.06
This commit is contained in:
parent
efbc322c9f
commit
09821d23ba
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue