mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 03:53:41 +00:00
15 lines
332 B
Nix
15 lines
332 B
Nix
{ symlinkJoin, fcitx, fcitx-configtool, makeWrapper, plugins, libsForQt5 }:
|
|
|
|
symlinkJoin {
|
|
name = "fcitx-with-plugins-${fcitx.version}";
|
|
|
|
paths = [ fcitx fcitx-configtool libsForQt5.fcitx-qt5 ] ++ plugins;
|
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
postBuild = ''
|
|
wrapProgram $out/bin/fcitx \
|
|
--set FCITXDIR "$out/"
|
|
'';
|
|
}
|