Merge pull request #45747 from vbgl/default-ocaml-4.06

ocamlPackages: default to 4.06
This commit is contained in:
xeji
2018-08-31 00:10:24 +02:00
committed by GitHub
29 changed files with 153 additions and 41 deletions

View File

@@ -1,5 +1,9 @@
{ 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
check-ocaml-version = with stdenv.lib; versionAtLeast (getVersion ocaml);
in