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
This commit is contained in:
Matthieu C. 2024-10-23 00:49:00 +02:00
parent 7dc45cf38c
commit b4215a713f

View File

@ -21,6 +21,7 @@
, sphinx
, sqlite
, xdg-utils
, qtwayland
, wrapQtAppsHook
}:
@ -74,6 +75,7 @@ stdenv.mkDerivation rec {
qtwebengine
qtwebsockets
sqlite
qtwayland
];
qtWrapperArgs = [