nextcloud-client: fix qt error at startup

The QT_PLUGIN_PATH couldn't find the needed xcb plugin.

See also #51044
This commit is contained in:
Maximilian Bosch 2019-01-22 22:31:52 +01:00
parent a9a28e9236
commit b525493253
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -44,7 +44,8 @@ stdenv.mkDerivation rec {
$out/share/applications/nextcloud.desktop
wrapProgram "$out/bin/nextcloud" \
--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ libsecret ]}
--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ libsecret ]} \
--prefix QT_PLUGIN_PATH : ${qtbase}/${qtbase.qtPluginPrefix}
'';
meta = with stdenv.lib; {