From b4215a713fac6b3874ea25cbbda785c6b46c9e21 Mon Sep 17 00:00:00 2001 From: "Matthieu C." <886074+teto@users.noreply.github.com> Date: Wed, 23 Oct 2024 00:49:00 +0200 Subject: [PATCH] nextcloud-client: fix for wayland without it it fails (home-manager service) with : Oct 19 01:14:27 mcoudron systemd[2141]: Started Nextcloud Client. Oct 19 01:14:27 mcoudron nextcloud[337938]: qt.qpa.plugin: Could not find the Qt platform plugin wayland in Oct 19 01:14:27 mcoudron nextcloud[337938]: 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, vnc, offscreen, eglfs, vkkhrdisplay, minimal, xcb, minimalegl. Oct 19 01:14:27 mcoudron systemd[2141]: nextcloud-client.service: Main process exited, code=dumped, status=6/ABRT --- pkgs/applications/networking/nextcloud-client/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/networking/nextcloud-client/default.nix b/pkgs/applications/networking/nextcloud-client/default.nix index 29f044536981..01ced9fc8631 100644 --- a/pkgs/applications/networking/nextcloud-client/default.nix +++ b/pkgs/applications/networking/nextcloud-client/default.nix @@ -21,6 +21,7 @@ , sphinx , sqlite , xdg-utils +, qtwayland , wrapQtAppsHook }: @@ -74,6 +75,7 @@ stdenv.mkDerivation rec { qtwebengine qtwebsockets sqlite + qtwayland ]; qtWrapperArgs = [