tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
ocamlPackages.mezzo: disable for OCaml ≥ 4.06
Vincent Laporte
7 years ago
e63e4c11
bdaec23d
+4
1 changed file
expand all
collapse all
unified
split
pkgs
development
compilers
mezzo
default.nix
+4
pkgs/development/compilers/mezzo/default.nix
reviewed
···
1
1
{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, menhir, yojson, ulex, pprint, fix, functory }:
2
2
3
3
+
if stdenv.lib.versionAtLeast ocaml.version "4.06"
4
4
+
then throw "mezzo is not available for OCaml ${ocaml.version}"
5
5
+
else
6
6
+
3
7
let
4
8
check-ocaml-version = with stdenv.lib; versionAtLeast (getVersion ocaml);
5
9
in