mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 23:52:55 +00:00
ocamlPackages.mezzo: disable for OCaml ≥ 4.06
This commit is contained in:
parent
bdaec23d14
commit
e63e4c11cc
@ -1,5 +1,9 @@
|
|||||||
{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, menhir, yojson, ulex, pprint, fix, functory }:
|
{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, menhir, yojson, ulex, pprint, fix, functory }:
|
||||||
|
|
||||||
|
if stdenv.lib.versionAtLeast ocaml.version "4.06"
|
||||||
|
then throw "mezzo is not available for OCaml ${ocaml.version}"
|
||||||
|
else
|
||||||
|
|
||||||
let
|
let
|
||||||
check-ocaml-version = with stdenv.lib; versionAtLeast (getVersion ocaml);
|
check-ocaml-version = with stdenv.lib; versionAtLeast (getVersion ocaml);
|
||||||
in
|
in
|
||||||
|
Loading…
Reference in New Issue
Block a user