Revert "tdesktop: fix for loading libXcursor"

This hack breaks programs executed by telegram, and appears not to be
necessary any longer.

Tracing shows neither tdesktop nor its dependencies actually link
against libXcursor, load it via dlopen, or call into it.

This reverts commit 910b2be5ac.

Updates: #181176
This commit is contained in:
novenary 2023-11-07 03:11:29 +02:00 committed by Jörg Thalheim
parent cfbb29d769
commit 194da02ae9

View File

@ -53,7 +53,6 @@
, libthai
, libdatrie
, xdg-utils
, xorg
, libsysprof-capture
, libpsl
, brotli
@ -217,7 +216,6 @@ stdenv.mkDerivation rec {
wrapProgram $out/bin/telegram-desktop \
"''${gappsWrapperArgs[@]}" \
"''${qtWrapperArgs[@]}" \
--prefix LD_LIBRARY_PATH : "${xorg.libXcursor}/lib" \
--suffix PATH : ${lib.makeBinPath [ xdg-utils ]}
'';