From 9fc5a391e44358f3342342a05a209114540e2835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanislav=20Ochotnick=C3=BD?= Date: Sat, 8 Jul 2023 14:37:55 +0200 Subject: [PATCH] opensnitch-ui: Add wayland support Without this dependency opensnitch needs to be run with QT_QPA_PLATFORM=xcb override in Wayland environments. --- pkgs/tools/networking/opensnitch/ui.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/networking/opensnitch/ui.nix b/pkgs/tools/networking/opensnitch/ui.nix index 3cac87bf55e9..a19020e4322e 100644 --- a/pkgs/tools/networking/opensnitch/ui.nix +++ b/pkgs/tools/networking/opensnitch/ui.nix @@ -1,5 +1,6 @@ { python3Packages , fetchFromGitHub +, qtwayland , wrapQtAppsHook , lib }: @@ -25,6 +26,10 @@ python3Packages.buildPythonApplication rec { wrapQtAppsHook ]; + buildInputs = [ + qtwayland + ]; + propagatedBuildInputs = with python3Packages; [ grpcio-tools pyqt5