Skip to content

Commit

Permalink
yed: mark as broken if jre.gtk3 is not available
Browse files Browse the repository at this point in the history
This cleans up nixpkgs-review report on darwin
  • Loading branch information
veprbl committed Nov 23, 2020
1 parent 3148778 commit 91e1cc1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/applications/graphics/yed/default.nix
Expand Up @@ -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;
Expand All @@ -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);
};
}

0 comments on commit 91e1cc1

Please sign in to comment.