diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-08-21 16:32:48 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-08-29 12:49:42 +0000 |
commit | 450e35804025d9e26fbd142a653741bcc89f36fa (patch) | |
tree | 702ce2530d20225066e6a44bf8328ab90d9ba48c /pkgs/development/tools/ocaml/omake | |
parent | ea276e21cf4d1b83e3169f2bab2e8361a78e3e1e (diff) | |
download | nixpkgs-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.nix | 5 |
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}"; |