1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-22 16:26:48 -04:00
nixpkgs/pkgs/tools/inputmethods/fcitx/wrapper.nix

15 lines
340 B
Nix
Raw Normal View History

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