11 lines
234 B
Nix
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
|