im/fcitx5: fix missing plugins on Qt6 (#4468)

This commit fixes fcitx5 not working on Qt6 due to missing plugins, by
adding them to QT_PLUGIN_PATH.
This commit is contained in:
sefidel 2023-10-17 17:31:32 +09:00 committed by GitHub
parent b25161c6a2
commit 7a46e6cb3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,6 +28,8 @@ in {
GTK_IM_MODULE = "fcitx";
QT_IM_MODULE = "fcitx";
XMODIFIERS = "@im=fcitx";
QT_PLUGIN_PATH =
"${fcitx5Package}/${pkgs.qt6.qtbase.qtPluginPrefix}:\${QT_PLUGIN_PATH}";
};
systemd.user.services.fcitx5-daemon = {