ocamlPackages.frontc: disable for OCaml ≥ 4.06

This commit is contained in:
Vincent Laporte 2018-08-21 13:45:30 +00:00
parent 6a9831940d
commit 23fd7e452f
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -1,4 +1,8 @@
{lib, buildOcaml, fetchurl}:
{ lib, buildOcaml, fetchurl, ocaml }:
if lib.versionAtLeast ocaml.version "4.06"
then throw "FrontC is not available for OCaml ${ocaml.version}"
else
buildOcaml rec {
name = "FrontC";