diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-08-21 16:02:42 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-08-29 12:49:41 +0000 |
commit | 06cd948ba305db25b02149061cb0b6bc52d3992e (patch) | |
tree | bfe840006ab8f05b7fce5c24b35f677238eab42e /pkgs/development | |
parent | 84e3cece288368029b028b39c41a69024d1f774e (diff) | |
download | nixlib-06cd948ba305db25b02149061cb0b6bc52d3992e.tar nixlib-06cd948ba305db25b02149061cb0b6bc52d3992e.tar.gz nixlib-06cd948ba305db25b02149061cb0b6bc52d3992e.tar.bz2 nixlib-06cd948ba305db25b02149061cb0b6bc52d3992e.tar.lz nixlib-06cd948ba305db25b02149061cb0b6bc52d3992e.tar.xz nixlib-06cd948ba305db25b02149061cb0b6bc52d3992e.tar.zst nixlib-06cd948ba305db25b02149061cb0b6bc52d3992e.zip |
ocamlPackages.sqlite3EZ: disable for OCaml ≥ 4.06
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/ocaml-modules/sqlite3EZ/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/sqlite3EZ/default.nix b/pkgs/development/ocaml-modules/sqlite3EZ/default.nix index ef9c254aba14..e8f248ee4a1c 100644 --- a/pkgs/development/ocaml-modules/sqlite3EZ/default.nix +++ b/pkgs/development/ocaml-modules/sqlite3EZ/default.nix @@ -2,6 +2,10 @@ assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "3.12"; +if stdenv.lib.versionAtLeast ocaml.version "4.06" +then throw "sqlite3EZ is not available for OCaml ${ocaml.version}" +else + stdenv.mkDerivation { name = "ocaml-sqlite3EZ-0.1.0"; |