Merge pull request #196269 from andresilva/tdesktop-fix-cursor
tdesktop: fix for loading libXcursor
This commit is contained in:
commit
678b994771
|
@ -46,6 +46,7 @@
|
|||
, libthai
|
||||
, libdatrie
|
||||
, xdg-utils
|
||||
, xorg
|
||||
, libsysprof-capture
|
||||
, libpsl
|
||||
, brotli
|
||||
|
@ -170,7 +171,8 @@ env.mkDerivation rec {
|
|||
wrapProgram $out/bin/telegram-desktop \
|
||||
"''${gappsWrapperArgs[@]}" \
|
||||
"''${qtWrapperArgs[@]}" \
|
||||
--suffix PATH : ${lib.makeBinPath [ xdg-utils]} \
|
||||
--prefix LD_LIBRARY_PATH : "${xorg.libXcursor}/lib" \
|
||||
--suffix PATH : ${lib.makeBinPath [ xdg-utils ]} \
|
||||
--set XDG_RUNTIME_DIR "XDG-RUNTIME-DIR"
|
||||
sed -i $out/bin/telegram-desktop \
|
||||
-e "s,'XDG-RUNTIME-DIR',\"\''${XDG_RUNTIME_DIR:-/run/user/\$(id --user)}\","
|
||||
|
|
Loading…
Reference in a new issue