ocamlPackages.gtktop: disable for OCaml ≥ 4.06

This commit is contained in:
Vincent Laporte 2018-08-21 13:53:38 +00:00
parent 23fd7e452f
commit 78b8fc7a75
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F

View File

@ -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}";