mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
ocamlPackages.gtktop: disable for OCaml ≥ 4.06
This commit is contained in:
parent
23fd7e452f
commit
78b8fc7a75
@ -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}";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user