Merge pull request #267432 from oxalica/fix/qtwayland-freeze

qt6Packages.qtwayland: fix a freezing bug with fcitx5
This commit is contained in:
Nick Cao 2023-11-14 09:26:53 -05:00 committed by GitHub
commit acf9bb5cb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,10 @@
{ qtModule
, qtbase
, qtquick3d
, qtdeclarative
, wayland
, pkg-config
, libdrm
, fetchpatch
}:
qtModule {
@ -12,4 +12,12 @@ qtModule {
propagatedBuildInputs = [ qtbase qtdeclarative ];
buildInputs = [ wayland libdrm ];
nativeBuildInputs = [ pkg-config ];
patches = [
# Fix a freezing bug with fcitx5.
# https://codereview.qt-project.org/c/qt/qtwayland/+/517601
(fetchpatch {
url = "https://code.qt.io/cgit/qt/qtwayland.git/patch/?id=6fe83f6076423068b652fa4fcb0b5adbd297f2a8";
hash = "sha256-TlZozKezpYm90B9qFP9qv76asRdIt+5bq9E3GcmFiDc=";
})
];
}