Skip to content

Commit

Permalink
nextcloud-client: fix qt error at startup
Browse files Browse the repository at this point in the history
The QT_PLUGIN_PATH couldn't find the needed xcb plugin.

See also #51044
  • Loading branch information
Ma27 committed Jan 22, 2019
1 parent a9a28e9 commit b525493
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/applications/networking/nextcloud-client/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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; {
Expand Down

0 comments on commit b525493

Please sign in to comment.