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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
338 B
Nix
Raw Normal View History

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