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

15 lines
332 B
Nix
Raw Normal View History

{ symlinkJoin, fcitx, fcitx-configtool, makeWrapper, plugins, libsForQt5 }:
2016-04-26 13:28:06 +01:00
symlinkJoin {
name = "fcitx-with-plugins-${fcitx.version}";
2017-03-02 23:54:32 +00:00
paths = [ fcitx fcitx-configtool libsForQt5.fcitx-qt5 ] ++ plugins;
2016-04-26 13:28:06 +01:00
buildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram $out/bin/fcitx \
--set FCITXDIR "$out/"
'';
2016-04-26 13:28:06 +01:00
}