summaryrefslogtreecommitdiffstats
path: root/pkgs/applications
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2020-11-23 21:49:42 +0100
committerGitHub <noreply@github.com>2020-11-23 21:49:42 +0100
commitd06276eb8d5b0b484d4070b6dd5d49e4f6fe74c3 (patch)
tree0ef4cfce85bc97dac6b534386ea8c5ca0b9e721e /pkgs/applications
parent22acd9d2367d629f7c12f224c8aab83b8f64db7e (diff)
parent91e1cc12be1a08f5623735c95895cdcb6236e0d2 (diff)
Merge pull request #104698 from veprbl/pr/yed_mark_broken
yed: mark as broken if jre.gtk3 is not available
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/graphics/yed/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/yed/default.nix b/pkgs/applications/graphics/yed/default.nix
index 7eb0851834fc..fb74c3d2d1a7 100644
--- a/pkgs/applications/graphics/yed/default.nix
+++ b/pkgs/applications/graphics/yed/default.nix
@@ -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);
};
}