From 91e1cc12be1a08f5623735c95895cdcb6236e0d2 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Mon, 23 Nov 2020 13:16:49 -0500 Subject: [PATCH] yed: mark as broken if jre.gtk3 is not available This cleans up nixpkgs-review report on darwin --- pkgs/applications/graphics/yed/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); }; }