diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-08-21 13:23:32 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-08-29 12:49:37 +0000 |
commit | f7c617e34d6a39d1b5e7664d3dc15bd029d26cd0 (patch) | |
tree | 5a88b24632aeb46b111253da9d14eac34b06bbc9 /pkgs/development/ocaml-modules/enumerate | |
parent | c2b86bc5bbde88b94f658a56f69bf92460251616 (diff) | |
download | nixlib-f7c617e34d6a39d1b5e7664d3dc15bd029d26cd0.tar nixlib-f7c617e34d6a39d1b5e7664d3dc15bd029d26cd0.tar.gz nixlib-f7c617e34d6a39d1b5e7664d3dc15bd029d26cd0.tar.bz2 nixlib-f7c617e34d6a39d1b5e7664d3dc15bd029d26cd0.tar.lz nixlib-f7c617e34d6a39d1b5e7664d3dc15bd029d26cd0.tar.xz nixlib-f7c617e34d6a39d1b5e7664d3dc15bd029d26cd0.tar.zst nixlib-f7c617e34d6a39d1b5e7664d3dc15bd029d26cd0.zip |
ocamlPackages.enumerate: disable for OCaml ≥ 4.06
Diffstat (limited to 'pkgs/development/ocaml-modules/enumerate')
-rw-r--r-- | pkgs/development/ocaml-modules/enumerate/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/enumerate/default.nix b/pkgs/development/ocaml-modules/enumerate/default.nix index 557f2f88d8d2..4f0c182726de 100644 --- a/pkgs/development/ocaml-modules/enumerate/default.nix +++ b/pkgs/development/ocaml-modules/enumerate/default.nix @@ -2,6 +2,10 @@ assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.00"; +if stdenv.lib.versionAtLeast ocaml.version "4.06" +then throw "enumerate-111.08.00 is not available for OCaml ${ocaml.version}" +else + stdenv.mkDerivation { name = "ocaml-enumerate-111.08.00"; |