yed: mark as broken if jre.gtk3 is not available

This cleans up nixpkgs-review report on darwin
This commit is contained in:
Dmitry Kalinkin 2020-11-23 13:16:49 -05:00
parent 31487784f9
commit 91e1cc12be
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333

View File

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper unzip wrapGAppsHook ];
# For wrapGAppsHook setup hook
buildInputs = [ jre.gtk3 ];
buildInputs = [ (jre.gtk3 or null) ];
dontConfigure = true;
dontBuild = true;
@ -35,5 +35,6 @@ stdenv.mkDerivation rec {
description = "A powerful desktop application that can be used to quickly and effectively generate high-quality diagrams";
platforms = jre.meta.platforms;
maintainers = with maintainers; [ abbradar ];
broken = !("gtk3" ? jre);
};
}