diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-08-21 13:20:43 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-08-29 12:49:37 +0000 |
commit | c2b86bc5bbde88b94f658a56f69bf92460251616 (patch) | |
tree | 9fb27f12ba082fbecd5cd55770890af7d5d241e2 | |
parent | 15a568cfe67abf19f2443163ef50bdf38f70937b (diff) | |
download | nixlib-c2b86bc5bbde88b94f658a56f69bf92460251616.tar nixlib-c2b86bc5bbde88b94f658a56f69bf92460251616.tar.gz nixlib-c2b86bc5bbde88b94f658a56f69bf92460251616.tar.bz2 nixlib-c2b86bc5bbde88b94f658a56f69bf92460251616.tar.lz nixlib-c2b86bc5bbde88b94f658a56f69bf92460251616.tar.xz nixlib-c2b86bc5bbde88b94f658a56f69bf92460251616.tar.zst nixlib-c2b86bc5bbde88b94f658a56f69bf92460251616.zip |
ocamlPackages.fieldslib_p4: disable for OCaml ≥ 4.06
-rw-r--r-- | pkgs/development/ocaml-modules/fieldslib/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/fieldslib/default.nix b/pkgs/development/ocaml-modules/fieldslib/default.nix index 6a8db9e62816..36c1342e61fa 100644 --- a/pkgs/development/ocaml-modules/fieldslib/default.nix +++ b/pkgs/development/ocaml-modules/fieldslib/default.nix @@ -2,6 +2,10 @@ assert stdenv.lib.versionOlder "4.00" (stdenv.lib.getVersion ocaml); +if stdenv.lib.versionAtLeast ocaml.version "4.06" +then throw "fieldslib-109.20.03 is not available for OCaml ${ocaml.version}" +else + stdenv.mkDerivation { name = "ocaml-fieldslib-109.20.03"; |