diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-08-21 18:18:49 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-08-29 12:49:43 +0000 |
commit | 24f47da9b35f1ad2410c3938c777207e1864de01 (patch) | |
tree | 8c8d613c5aecda6716ee3df6ad1d2ac190de74e1 /pkgs/development | |
parent | 9590e46c05c33baadb6e7663707c0423fd6383ce (diff) | |
download | nixlib-24f47da9b35f1ad2410c3938c777207e1864de01.tar nixlib-24f47da9b35f1ad2410c3938c777207e1864de01.tar.gz nixlib-24f47da9b35f1ad2410c3938c777207e1864de01.tar.bz2 nixlib-24f47da9b35f1ad2410c3938c777207e1864de01.tar.lz nixlib-24f47da9b35f1ad2410c3938c777207e1864de01.tar.xz nixlib-24f47da9b35f1ad2410c3938c777207e1864de01.tar.zst nixlib-24f47da9b35f1ad2410c3938c777207e1864de01.zip |
ocamlPackages.erm_xml: disable for OCaml ≥ 4.06
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/ocaml-modules/erm_xml/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/erm_xml/default.nix b/pkgs/development/ocaml-modules/erm_xml/default.nix index ae264b657d87..c944752ff6b6 100644 --- a/pkgs/development/ocaml-modules/erm_xml/default.nix +++ b/pkgs/development/ocaml-modules/erm_xml/default.nix @@ -1,5 +1,9 @@ { stdenv, fetchzip, ocaml, findlib, ocamlbuild }: +if stdenv.lib.versionAtLeast ocaml.version "4.06" +then throw "erm_xml is not available for OCaml ${ocaml.version}" +else + let version = "0.3"; in stdenv.mkDerivation { |