From 013d6e6f852737f3f3d9d2441443cf783d93c47b Mon Sep 17 00:00:00 2001 From: Timo Gottszky Date: Fri, 26 Sep 2025 21:57:44 +0200 Subject: [PATCH] plasma-workspace: apply patch to fix crash with media applet --- pkgs/kde/plasma/plasma-workspace/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/kde/plasma/plasma-workspace/default.nix b/pkgs/kde/plasma/plasma-workspace/default.nix index 90b76badce64..a7cd8fc5388f 100644 --- a/pkgs/kde/plasma/plasma-workspace/default.nix +++ b/pkgs/kde/plasma/plasma-workspace/default.nix @@ -2,6 +2,7 @@ lib, mkKdeDerivation, replaceVars, + fetchpatch, dbus, fontconfig, xorg, @@ -33,6 +34,12 @@ mkKdeDerivation { # @QtBinariesDir@ only appears in the *removed* lines of the diff QtBinariesDir = null; }) + # Fixes https://github.com/NixOS/nixpkgs/issues/442630, next upstream release should already contain this patch + (fetchpatch { + name = "fix-media-applet-crash.diff"; + url = "https://invent.kde.org/plasma/plasma-workspace/-/commit/30273fb2afcc6e304951c8895bb17d38255fed39.diff"; + sha256 = "sha256-1p1CjxRioCDm5ugoI8l6kDlOse5FbDJ71tTAY9LPvRc="; + }) ]; postInstall = ''