fcitx: refactor (#16858)

This commit is contained in:
Eric Sagnes
2016-07-11 17:50:22 +02:00
committed by Robin Gloster
parent 60887fa193
commit 1349cd4e8d
4 changed files with 64 additions and 55 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ with lib;
let
cfg = config.i18n.inputMethod.fcitx;
fcitxPackage = pkgs.fcitx-with-plugins.override { plugins = cfg.engines; };
fcitxPackage = pkgs.fcitx.override { plugins = cfg.engines; };
fcitxEngine = types.package // {
name = "fcitx-engine";
check = x: (lib.types.package.check x) && (attrByPath ["meta" "isFcitxEngine"] false x);