From 49a5c6431cb9fca75f7291492ff0cb82d1a93c6e Mon Sep 17 00:00:00 2001 From: Atemu Date: Thu, 7 Nov 2024 07:19:04 +0100 Subject: [PATCH] teamspeak_client: remove unnecessary dependencies I honestly don't know what these are here for but they're not in any of the binaries' NEEDED sections, so let's yeet them. autoPatchelfHook ensures we have all required libraries. --- .../instant-messengers/teamspeak/client.nix | 53 +++++-------------- 1 file changed, 13 insertions(+), 40 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/teamspeak/client.nix b/pkgs/applications/networking/instant-messengers/teamspeak/client.nix index 52c46461a59c..154d00bf0e71 100644 --- a/pkgs/applications/networking/instant-messengers/teamspeak/client.nix +++ b/pkgs/applications/networking/instant-messengers/teamspeak/client.nix @@ -5,20 +5,10 @@ fetchzip, makeWrapper, makeDesktopItem, - zlib, glib, - libpng, - freetype, - openssl, - xorg, - fontconfig, qt5, libsForQt5, xkeyboard_config, - alsa-lib, - libpulseaudio ? null, - libredirect, - which, perl, libcxx, autoPatchelfHook, @@ -57,41 +47,24 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ makeWrapper - which perl # Installer script needs `shasum` qt5.wrapQtAppsHook autoPatchelfHook ]; - buildInputs = [ - zlib - glib - libpng - freetype - xorg.libSM - xorg.libICE - xorg.libXrender - openssl - xorg.libXrandr - xorg.libXfixes - xorg.libXcursor - xorg.libXinerama - xorg.libxcb - fontconfig - xorg.libXext - xorg.libX11 - alsa-lib - libpulseaudio - libsForQt5.quazip - libcxx - libredirect - ] ++ (with qt5; [ - qtbase - qtwebengine - qtwebchannel - qtsvg - qtwebsockets - ]); + buildInputs = + [ + libsForQt5.quazip + glib + libcxx + ] + ++ (with qt5; [ + qtbase + qtwebengine + qtwebchannel + qtwebsockets + qtsvg + ]); # This just runs the installer script. If it gets stuck at something like # ++ exec