From 89e272dacdd0203fe2ff4f2eb62e784d4a50816d Mon Sep 17 00:00:00 2001 From: K900 Date: Thu, 15 Jan 2026 12:53:55 +0300 Subject: [PATCH] libsForQt5.kwayland: cherry-pick patch to fix build with latest libdrm --- pkgs/development/libraries/kde-frameworks/kwayland.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/libraries/kde-frameworks/kwayland.nix b/pkgs/development/libraries/kde-frameworks/kwayland.nix index 09510db88d63..014ee813cfbd 100644 --- a/pkgs/development/libraries/kde-frameworks/kwayland.nix +++ b/pkgs/development/libraries/kde-frameworks/kwayland.nix @@ -8,10 +8,19 @@ qtbase, wayland, wayland-protocols, + fetchpatch, }: mkDerivation { pname = "kwayland"; + + patches = [ + (fetchpatch { + url = "https://invent.kde.org/plasma/kwayland/-/commit/0954a179d4ef72597efea44a91071eb9a55a385f.diff"; + hash = "sha256-TB9ZIYV58E41rA8mP5MXjIKZUOdH/rZfOYsgUlV+QLk="; + }) + ]; + nativeBuildInputs = [ extra-cmake-modules wayland-scanner