mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
31f5dd3f36
- remove trailing whitespace - use spaces for indentation
12 lines
232 B
Nix
12 lines
232 B
Nix
{ callPackage, plugins ? [] }:
|
|
|
|
let
|
|
unwrapped = callPackage ./unwrapped.nix { };
|
|
wrapped = callPackage ./wrapper.nix {
|
|
plugins = plugins;
|
|
fcitx = unwrapped;
|
|
};
|
|
in if plugins == []
|
|
then unwrapped
|
|
else wrapped
|