From a79700995918e2f2a2aa5b1207a86f907f082b1f Mon Sep 17 00:00:00 2001 From: K900 Date: Thu, 10 Apr 2025 19:14:05 +0300 Subject: [PATCH] kdePackages.kwin: backport crash fix recommended by upstream --- pkgs/kde/plasma/kwin/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) 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 = ''