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