mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
12 lines
234 B
Nix
12 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
|