diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-08-21 13:45:30 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-08-29 12:49:40 +0000 |
commit | 23fd7e452fd0759bbbc9d01940a8b7de261fe99f (patch) | |
tree | f2957df00b3b3c1f14291e95441028046112d281 /pkgs/development/ocaml-modules/frontc | |
parent | 6a9831940d364b8bed5eac6148b5cf0fddfddf27 (diff) | |
download | nixlib-23fd7e452fd0759bbbc9d01940a8b7de261fe99f.tar nixlib-23fd7e452fd0759bbbc9d01940a8b7de261fe99f.tar.gz nixlib-23fd7e452fd0759bbbc9d01940a8b7de261fe99f.tar.bz2 nixlib-23fd7e452fd0759bbbc9d01940a8b7de261fe99f.tar.lz nixlib-23fd7e452fd0759bbbc9d01940a8b7de261fe99f.tar.xz nixlib-23fd7e452fd0759bbbc9d01940a8b7de261fe99f.tar.zst nixlib-23fd7e452fd0759bbbc9d01940a8b7de261fe99f.zip |
ocamlPackages.frontc: disable for OCaml ≥ 4.06
Diffstat (limited to 'pkgs/development/ocaml-modules/frontc')
-rw-r--r-- | pkgs/development/ocaml-modules/frontc/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/frontc/default.nix b/pkgs/development/ocaml-modules/frontc/default.nix index ecf1ddc8fbae..e5330789e262 100644 --- a/pkgs/development/ocaml-modules/frontc/default.nix +++ b/pkgs/development/ocaml-modules/frontc/default.nix @@ -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"; |