From 22143317c12b6a8ea90d1f873b8c423dd40ed2cd Mon Sep 17 00:00:00 2001 From: teutat3s <10206665+teutat3s@users.noreply.github.com> Date: Wed, 3 Apr 2024 18:32:36 +0200 Subject: [PATCH] mozillavpn: add qtwayland to build inputs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes the app not launching in a wayland environment. ❯ mozillavpn Aborted (core dumped) ~/.local/share/mozillavpn.log showed: Warning: Could not find the Qt platform plugin "wayland" in "" Error: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: linuxfb, minimal, eglfs, minimalegl, vkkhrdisplay, xcb, vnc, offscreen. --- pkgs/tools/networking/mozillavpn/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/networking/mozillavpn/default.nix b/pkgs/tools/networking/mozillavpn/default.nix index 4974c873894c3..49a3894cd49df 100644 --- a/pkgs/tools/networking/mozillavpn/default.nix +++ b/pkgs/tools/networking/mozillavpn/default.nix @@ -16,6 +16,7 @@ , qtnetworkauth , qtsvg , qttools +, qtwayland , qtwebsockets , rustPlatform , rustc @@ -74,6 +75,7 @@ stdenv.mkDerivation { qtbase qtnetworkauth qtsvg + qtwayland qtwebsockets ]; nativeBuildInputs = [