Skip to content

Commit

Permalink
Merge pull request #104698 from veprbl/pr/yed_mark_broken
Browse files Browse the repository at this point in the history
yed: mark as broken if jre.gtk3 is not available
  • Loading branch information
SuperSandro2000 authored Nov 23, 2020
2 parents 22acd9d + 91e1cc1 commit d06276e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/applications/graphics/yed/default.nix
Original file line number Diff line number Diff line change
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 d06276e

Please sign in to comment.