summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/gtktop
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2018-08-21 13:53:38 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2018-08-29 12:49:40 +0000
commit78b8fc7a757aa30db59a0b41c2a1fcfa47ea2e28 (patch)
tree64163d3a9bd852ed38a47587b4cbcdde38e6494a /pkgs/development/ocaml-modules/gtktop
parent23fd7e452fd0759bbbc9d01940a8b7de261fe99f (diff)
downloadnixpkgs-78b8fc7a757aa30db59a0b41c2a1fcfa47ea2e28.tar
nixpkgs-78b8fc7a757aa30db59a0b41c2a1fcfa47ea2e28.tar.gz
nixpkgs-78b8fc7a757aa30db59a0b41c2a1fcfa47ea2e28.tar.bz2
nixpkgs-78b8fc7a757aa30db59a0b41c2a1fcfa47ea2e28.tar.lz
nixpkgs-78b8fc7a757aa30db59a0b41c2a1fcfa47ea2e28.tar.xz
nixpkgs-78b8fc7a757aa30db59a0b41c2a1fcfa47ea2e28.tar.zst
nixpkgs-78b8fc7a757aa30db59a0b41c2a1fcfa47ea2e28.zip
ocamlPackages.gtktop: disable for OCaml ≥ 4.06
Diffstat (limited to 'pkgs/development/ocaml-modules/gtktop')
-rw-r--r--pkgs/development/ocaml-modules/gtktop/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/gtktop/default.nix b/pkgs/development/ocaml-modules/gtktop/default.nix
index de0334c2a18..07420693005 100644
--- a/pkgs/development/ocaml-modules/gtktop/default.nix
+++ b/pkgs/development/ocaml-modules/gtktop/default.nix
@@ -2,6 +2,10 @@
 
 let pname = "gtktop-2.0"; in
 
+if stdenv.lib.versionAtLeast ocaml.version "4.06"
+then throw "${pname} is not available for OCaml ${ocaml.version}"
+else
+
 stdenv.mkDerivation {
   name = "ocaml-${pname}";