diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-08-21 13:35:54 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-08-29 12:49:38 +0000 |
commit | 09821d23ba3fe37a26d30592e6833de336581212 (patch) | |
tree | f6066d5dbe0a24ce6af39ae8f9f40c65dd5e8b50 /pkgs/development/ocaml-modules/bolt | |
parent | efbc322c9fb4bc9f35ad8b8c12f5dfa406a57188 (diff) | |
download | nixlib-09821d23ba3fe37a26d30592e6833de336581212.tar nixlib-09821d23ba3fe37a26d30592e6833de336581212.tar.gz nixlib-09821d23ba3fe37a26d30592e6833de336581212.tar.bz2 nixlib-09821d23ba3fe37a26d30592e6833de336581212.tar.lz nixlib-09821d23ba3fe37a26d30592e6833de336581212.tar.xz nixlib-09821d23ba3fe37a26d30592e6833de336581212.tar.zst nixlib-09821d23ba3fe37a26d30592e6833de336581212.zip |
ocamlPackages.bolt: disable for OCaml ≥ 4.06
Diffstat (limited to 'pkgs/development/ocaml-modules/bolt')
-rw-r--r-- | pkgs/development/ocaml-modules/bolt/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/bolt/default.nix b/pkgs/development/ocaml-modules/bolt/default.nix index 121f484ce419..b5a4f179b17a 100644 --- a/pkgs/development/ocaml-modules/bolt/default.nix +++ b/pkgs/development/ocaml-modules/bolt/default.nix @@ -5,6 +5,10 @@ let inherit (stdenv.lib) getVersion versionAtLeast; in assert versionAtLeast (getVersion ocaml) "4.00.0"; assert versionAtLeast (getVersion findlib) "1.3.3"; +if versionAtLeast ocaml.version "4.06" +then throw "bolt is not available for OCaml ${ocaml.version}" +else + stdenv.mkDerivation rec { name = "bolt-1.4"; |