fcitx-with-plugins: add fcitx-configtool and fcitx-qt5
This commit is contained in:
@@ -39,7 +39,7 @@ in
|
|||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
environment.systemPackages = [ fcitxPackage ];
|
environment.systemPackages = [ fcitxPackage ];
|
||||||
gtkPlugins = [ fcitxPackage ];
|
gtkPlugins = [ fcitxPackage ];
|
||||||
qtPlugins = [ fcitxPackage pkgs.kde5.fcitx-qt5 ];
|
qtPlugins = [ fcitxPackage ];
|
||||||
|
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
GTK_IM_MODULE = "fcitx";
|
GTK_IM_MODULE = "fcitx";
|
||||||
|
|||||||
@@ -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.
|
# This is based on the pidgin-with-plugins package.
|
||||||
# Users should be able to configure what plugins are used
|
# Users should be able to configure what plugins are used
|
||||||
@@ -16,7 +16,7 @@ let
|
|||||||
drv = buildEnv {
|
drv = buildEnv {
|
||||||
name = "fcitx-with-plugins-" + (builtins.parseDrvName fcitx.name).version;
|
name = "fcitx-with-plugins-" + (builtins.parseDrvName fcitx.name).version;
|
||||||
|
|
||||||
paths = [ fcitx ] ++ plugins;
|
paths = [ fcitx fcitx-configtool kde5.fcitx-qt5 ] ++ plugins;
|
||||||
|
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
# TODO: This could be avoided if buildEnv could be forced to create all directories
|
# TODO: This could be avoided if buildEnv could be forced to create all directories
|
||||||
|
|||||||
Reference in New Issue
Block a user