blob: 8e086f7386f5513d2edc5894d468ecdeb0166ae5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{ 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/"
'';
}
|