diff --git a/pkgs/kde/plasma/kwin/default.nix b/pkgs/kde/plasma/kwin/default.nix index 0d78ac721cf2..6b8bd06d5a0e 100644 --- a/pkgs/kde/plasma/kwin/default.nix +++ b/pkgs/kde/plasma/kwin/default.nix @@ -17,6 +17,7 @@ pipewire, krunner, python3, + fetchpatch, }: mkKdeDerivation { pname = "kwin"; @@ -29,6 +30,13 @@ mkKdeDerivation { ./0003-plugins-qpa-allow-using-nixos-wrapper.patch ./0001-NixOS-Unwrap-executable-name-for-.desktop-search.patch ./0001-Lower-CAP_SYS_NICE-from-the-ambient-set.patch + + # Backport crash fix + # FIXME: remove in 6.3.5 + (fetchpatch { + url = "https://invent.kde.org/plasma/kwin/-/commit/93bf2f98ae22e654d997c7140b7fe9936fa3f2d3.patch"; + hash = "sha256-Jaa7IVuYMfxzUv0y2rUo5hdYavjaUkEW9/yteL5katE="; + }) ]; postPatch = ''