tdesktop: fixed GLib-GIO-ERROR
This commit is contained in:
parent
3a7854032a
commit
654ebf8232
@ -125,6 +125,7 @@ mkDerivation rec {
|
||||
# This is necessary to run Telegram in a pure environment.
|
||||
wrapProgram $out/bin/telegram-desktop \
|
||||
--prefix QT_PLUGIN_PATH : "${qtbase}/${qtbase.qtPluginPrefix}" \
|
||||
--suffix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}/" \
|
||||
--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 New Issue
Block a user