teamspeak_client: fix startup

segfaults with qt5.10, downgrade to 5.9
tries to load its homegrown libqxcb.so which does not find some libs,
use nixpkgs libqxcb.so instead.
This commit is contained in:
Symphorien Gibol 2018-05-27 15:13:23 +02:00
parent 5da85431fb
commit 7ed15eed53
2 changed files with 3 additions and 2 deletions

View File

@ -74,6 +74,7 @@ stdenv.mkDerivation rec {
rm *.so.* *.so
rm QtWebEngineProcess
rm qt.conf
rm -r platforms # contains libqxcb.so
# Install files.
mkdir -p $out/lib/teamspeak
@ -91,7 +92,7 @@ stdenv.mkDerivation rec {
wrapProgram $out/bin/ts3client \
--set LD_PRELOAD "${libredirect}/lib/libredirect.so" \
--set QT_PLUGIN_PATH "$out/lib/teamspeak/platforms" \
--set QT_PLUGIN_PATH "${qtbase}/${qtbase.qtPluginPrefix}" \
--set NIX_REDIRECTS /usr/share/X11/xkb=${xkeyboard_config}/share/X11/xkb
'';

View File

@ -18133,7 +18133,7 @@ with pkgs;
gconf = gnome2.GConf;
};
teamspeak_client = libsForQt5.callPackage ../applications/networking/instant-messengers/teamspeak/client.nix { };
teamspeak_client = libsForQt59.callPackage ../applications/networking/instant-messengers/teamspeak/client.nix { };
teamspeak_server = callPackage ../applications/networking/instant-messengers/teamspeak/server.nix { };
uaskjuggler = callPackage ../applications/misc/taskjuggler { };