diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-08-21 13:53:38 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-08-29 12:49:40 +0000 |
commit | 78b8fc7a757aa30db59a0b41c2a1fcfa47ea2e28 (patch) | |
tree | 64163d3a9bd852ed38a47587b4cbcdde38e6494a /pkgs/development/ocaml-modules/gtktop | |
parent | 23fd7e452fd0759bbbc9d01940a8b7de261fe99f (diff) | |
download | nixpkgs-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.nix | 4 |
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}"; |