diff --git a/pkgs/desktops/plasma-5/plasma-workspace/default.nix b/pkgs/desktops/plasma-5/plasma-workspace/default.nix index 7cc615355663..1526694581c6 100644 --- a/pkgs/desktops/plasma-5/plasma-workspace/default.nix +++ b/pkgs/desktops/plasma-5/plasma-workspace/default.nix @@ -65,6 +65,7 @@ , polkit-qt , pipewire , libdrm +, fetchpatch }: let inherit (lib) getBin getLib; in @@ -147,6 +148,13 @@ mkDerivation { patches = [ ./0001-startkde.patch ./0002-absolute-wallpaper-install-dir.patch + + # backport patch fixing a Wayland crash + # FIXME: remove in next release + (fetchpatch { + url = "https://invent.kde.org/plasma/plasma-workspace/-/commit/fc01a7f837d06ee9e92d02f13acb79c2b06e9e3c.diff"; + hash = "sha256-cHupiD6fKZ7ICFb4AcuUErrA4646sNGxeGiACPs8IHQ="; + }) ]; # QT_INSTALL_BINS refers to qtbase, and qdbus is in qttools