mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
Merge pull request #37587 from not-fl3/master
tdesktop: fixed GLib-GIO-ERROR
This commit is contained in:
commit
40aabe9d48
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue