diff options
-rw-r--r-- | nixos/modules/i18n/inputMethod/fcitx.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/inputmethods/fcitx/wrapper.nix | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/i18n/inputMethod/fcitx.nix b/nixos/modules/i18n/inputMethod/fcitx.nix index 16fa8c764a87c..b0e7578810adc 100644 --- a/nixos/modules/i18n/inputMethod/fcitx.nix +++ b/nixos/modules/i18n/inputMethod/fcitx.nix @@ -39,7 +39,7 @@ in config = mkIf cfg.enable { environment.systemPackages = [ fcitxPackage ]; gtkPlugins = [ fcitxPackage ]; - qtPlugins = [ fcitxPackage pkgs.kde5.fcitx-qt5 ]; + qtPlugins = [ fcitxPackage ]; environment.variables = { GTK_IM_MODULE = "fcitx"; diff --git a/pkgs/tools/inputmethods/fcitx/wrapper.nix b/pkgs/tools/inputmethods/fcitx/wrapper.nix index d4efb3326969b..a0ae26189541a 100644 --- a/pkgs/tools/inputmethods/fcitx/wrapper.nix +++ b/pkgs/tools/inputmethods/fcitx/wrapper.nix @@ -1,4 +1,4 @@ -{ stdenv, buildEnv, fcitx, makeWrapper, plugins }: +{ stdenv, buildEnv, fcitx, fcitx-configtool, makeWrapper, plugins, kde5 }: # This is based on the pidgin-with-plugins package. # Users should be able to configure what plugins are used @@ -16,7 +16,7 @@ let drv = buildEnv { name = "fcitx-with-plugins-" + (builtins.parseDrvName fcitx.name).version; - paths = [ fcitx ] ++ plugins; + paths = [ fcitx fcitx-configtool kde5.fcitx-qt5 ] ++ plugins; postBuild = '' # TODO: This could be avoided if buildEnv could be forced to create all directories |