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

12 lines
234 B
Nix
Raw Normal View History

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