mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
Merge pull request #37587 from not-fl3/master
tdesktop: fixed GLib-GIO-ERROR
This commit is contained in:
commit
40aabe9d48
@ -117,6 +117,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