xdg-terminal-exec: remove upstreamed patched

This commit is contained in:
Colin 2024-04-14 14:16:50 +00:00
parent f908762cf8
commit 7804236499

View File

@ -2,13 +2,6 @@
{
sane.programs.xdg-terminal-exec = {
packageUnwrapped = pkgs.xdg-terminal-exec.overrideAttrs (upstream: {
# fix for <https://github.com/Vladimir-csp/xdg-terminal-exec/issues/50>
postPatch = (upstream.postPatch or "") + ''
sed '2i\
unset TERMINAL\
' -i xdg-terminal-exec
'';
# give the package a .desktop item.
# this way anyone can launch a terminal via the xdg-desktop-portal.
nativeBuildInputs = (upstream.nativeBuildInputs or []) ++ [