Merge pull request #228410 from K900/why-oh-god-why

telegram-desktop: remove crimes
This commit is contained in:
Nick Cao 2023-04-27 10:29:26 +08:00 committed by GitHub
commit 4115852154
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = {