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

12 lines
234 B
Nix
Raw Normal View History

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