diff options
author | K900 <me@0upti.me> | 2023-04-27 00:42:21 +0300 |
---|---|---|
committer | K900 <me@0upti.me> | 2023-04-27 00:42:21 +0300 |
commit | 99cb935fbf21590ddc4660639a308a96ee832f23 (patch) | |
tree | b405c4db687f3ed57eac9c0ed62501c5b196f80c /pkgs/applications/networking | |
parent | da5c97ee2920a1bb41bee68808764209fb26e5a2 (diff) |
telegram-desktop: remove crimes
This may have worked 4 years ago, but it most definitely does not work on the binary wrapper.
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/default.nix | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/default.nix b/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/default.nix index 33c943e3bc97f..254540bf8f93c 100644 --- a/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/default.nix @@ -181,10 +181,7 @@ stdenv.mkDerivation rec { "''${gappsWrapperArgs[@]}" \ "''${qtWrapperArgs[@]}" \ --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)}\"," + --suffix PATH : ${lib.makeBinPath [ xdg-utils ]} ''; passthru = { |