Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 16.09 14 lines 328 B view raw
1{ stdenv, symlinkJoin, fcitx, fcitx-configtool, makeWrapper, plugins, qt55 }: 2 3symlinkJoin { 4 name = "fcitx-with-plugins-${fcitx.version}"; 5 6 paths = [ fcitx fcitx-configtool qt55.fcitx-qt5 ] ++ plugins; 7 8 buildInputs = [ makeWrapper ]; 9 10 postBuild = '' 11 wrapProgram $out/bin/fcitx \ 12 --set FCITXDIR "$out/" 13 ''; 14}