summary refs log tree commit diff
path: root/pkgs/tools/inputmethods/fcitx/default.nix
blob: 69e4425d8c3b6316d7e8742b41dc9fa1339dfbd9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
{ callPackage, plugins ? [] }:

let 
  unwrapped = callPackage ./unwrapped.nix { };
  wrapped   = callPackage ./wrapper.nix {
    plugins = plugins;
    fcitx   = unwrapped;
  };
in if plugins == [] 
   then unwrapped
   else wrapped