summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/teamspeak
diff options
context:
space:
mode:
authorSymphorien Gibol <symphorien+git@xlumurb.eu>2018-05-27 15:13:23 +0200
committerSymphorien Gibol <symphorien+git@xlumurb.eu>2018-05-27 15:32:02 +0200
commit7ed15eed532a7d9cf267882d5f935f1b34a04622 (patch)
tree76117c548e71e63c8a134430a269529563b478c7 /pkgs/applications/networking/instant-messengers/teamspeak
parent5da85431fb1df4fb3ac36730b2591ccc9bdf5c21 (diff)
downloadnixpkgs-7ed15eed532a7d9cf267882d5f935f1b34a04622.tar
nixpkgs-7ed15eed532a7d9cf267882d5f935f1b34a04622.tar.gz
nixpkgs-7ed15eed532a7d9cf267882d5f935f1b34a04622.tar.bz2
nixpkgs-7ed15eed532a7d9cf267882d5f935f1b34a04622.tar.lz
nixpkgs-7ed15eed532a7d9cf267882d5f935f1b34a04622.tar.xz
nixpkgs-7ed15eed532a7d9cf267882d5f935f1b34a04622.tar.zst
nixpkgs-7ed15eed532a7d9cf267882d5f935f1b34a04622.zip
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.
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/teamspeak')
-rw-r--r--pkgs/applications/networking/instant-messengers/teamspeak/client.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/teamspeak/client.nix b/pkgs/applications/networking/instant-messengers/teamspeak/client.nix
index ea2030e964b..23d2e640b4f 100644
--- a/pkgs/applications/networking/instant-messengers/teamspeak/client.nix
+++ b/pkgs/applications/networking/instant-messengers/teamspeak/client.nix
@@ -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
     '';