From b52549325311f75d2fe478bd4223e92c7edb3473 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Tue, 22 Jan 2019 22:31:52 +0100 Subject: [PATCH] nextcloud-client: fix qt error at startup The QT_PLUGIN_PATH couldn't find the needed xcb plugin. See also #51044 --- pkgs/applications/networking/nextcloud-client/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/nextcloud-client/default.nix b/pkgs/applications/networking/nextcloud-client/default.nix index 7ece1375793..624c5472ddc 100644 --- a/pkgs/applications/networking/nextcloud-client/default.nix +++ b/pkgs/applications/networking/nextcloud-client/default.nix @@ -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; {