Unverified Commit fac8c972 authored by K900's avatar K900 Committed by GitHub
Browse files

qt6.qtwayland: backport fix recommended by upstream (#399247)

parents 39e46583 9a61a015
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -7,10 +7,21 @@
  wayland-scanner,
  pkg-config,
  libdrm,
  fetchpatch,
}:

qtModule {
  pname = "qtwayland";

  # Backport fix for popups not rendering properly
  # FIXME: remove in 6.9.1
  patches = [
    (fetchpatch {
      url = "https://invent.kde.org/qt/qt/qtwayland/-/commit/e4556c59f0c8250da7c16759432b2ac0a5ac9d9f.patch";
      hash = "sha256-wRNXBwecuULn5MD87HP20uSuxHiuQslKp20DIuCGheM=";
    })
  ];

  # wayland-scanner needs to be propagated as both build
  # (for the wayland-scanner binary) and host (for the
  # actual wayland.xml protocol definition)