summary refs log tree commit diff
path: root/pkgs/development/tools/ocaml/omake
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2018-08-21 16:32:48 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2018-08-29 12:49:42 +0000
commit450e35804025d9e26fbd142a653741bcc89f36fa (patch)
tree702ce2530d20225066e6a44bf8328ab90d9ba48c /pkgs/development/tools/ocaml/omake
parentea276e21cf4d1b83e3169f2bab2e8361a78e3e1e (diff)
downloadnixpkgs-450e35804025d9e26fbd142a653741bcc89f36fa.tar
nixpkgs-450e35804025d9e26fbd142a653741bcc89f36fa.tar.gz
nixpkgs-450e35804025d9e26fbd142a653741bcc89f36fa.tar.bz2
nixpkgs-450e35804025d9e26fbd142a653741bcc89f36fa.tar.lz
nixpkgs-450e35804025d9e26fbd142a653741bcc89f36fa.tar.xz
nixpkgs-450e35804025d9e26fbd142a653741bcc89f36fa.tar.zst
nixpkgs-450e35804025d9e26fbd142a653741bcc89f36fa.zip
ocamlPackages.omake_rc1: disable for OCaml ≥ 4.06
Diffstat (limited to 'pkgs/development/tools/ocaml/omake')
-rw-r--r--pkgs/development/tools/ocaml/omake/0.9.8.6-rc1.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/tools/ocaml/omake/0.9.8.6-rc1.nix b/pkgs/development/tools/ocaml/omake/0.9.8.6-rc1.nix
index 84365889638..4d7900de80d 100644
--- a/pkgs/development/tools/ocaml/omake/0.9.8.6-rc1.nix
+++ b/pkgs/development/tools/ocaml/omake/0.9.8.6-rc1.nix
@@ -4,6 +4,11 @@ let
   version = "0.9.8.6-0.rc1";
   webpage = "http://omake.metaprl.org";
 in
+
+if stdenv.lib.versionAtLeast ocaml.version "4.06"
+then throw "${pname}-${version} is not available for OCaml ${ocaml.version}"
+else
+
 stdenv.mkDerivation {
 
   name = "${pname}-${version}";