fcitx-with-plugins: add fcitx-configtool and fcitx-qt5

This commit is contained in:
Eric Sagnes 2016-02-10 14:00:58 +09:00
parent 850be632a0
commit 295d670024
2 changed files with 3 additions and 3 deletions

View File

@ -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";

View File

@ -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