blob: fc28a08b4b79fb2afd982b5a23030de8cecf56bd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
{ callPackage, plugins ? [] }:
let
unwrapped = callPackage ./unwrapped.nix { };
wrapped = callPackage ./wrapper.nix {
plugins = plugins;
fcitx = unwrapped;
};
in if plugins == []
then unwrapped
else wrapped
|