mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
14 lines
328 B
Nix
14 lines
328 B
Nix
{ 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/"
|
|
'';
|
|
}
|