mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
fcitx-with-plugins: add fcitx-configtool and fcitx-qt5
This commit is contained in:
parent
850be632a0
commit
295d670024
@ -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";
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user