nixpkgs/pkgs/tools/inputmethods/fcitx/wrapper.nix

15 lines
328 B
Nix
Raw Normal View History

{ stdenv, symlinkJoin, fcitx, fcitx-configtool, makeWrapper, plugins, qt55 }:
2016-04-26 14:28:06 +02:00
symlinkJoin {
name = "fcitx-with-plugins-${fcitx.version}";
paths = [ fcitx fcitx-configtool qt55.fcitx-qt5 ] ++ plugins;
2016-04-26 14:28:06 +02:00
buildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram $out/bin/fcitx \
--set FCITXDIR "$out/"
'';
2016-04-26 14:28:06 +02:00
}