nixpkgs-suyu/pkgs/tools/inputmethods/fcitx/default.nix
2016-07-11 17:50:22 +02:00

11 lines
234 B
Nix

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