nixpkgs/pkgs/tools/inputmethods/fcitx/default.nix

12 lines
232 B
Nix
Raw Normal View History

2016-07-11 15:50:22 +00:00
{ callPackage, plugins ? [] }:
2013-01-28 03:35:03 +00:00
let
2016-07-11 15:50:22 +00:00
unwrapped = callPackage ./unwrapped.nix { };
wrapped = callPackage ./wrapper.nix {
plugins = plugins;
fcitx = unwrapped;
2013-01-28 03:35:03 +00:00
};
in if plugins == []
2016-07-11 15:50:22 +00:00
then unwrapped
else wrapped