@@ -23,7 +23,7 @@ in clangStdenv.mkDerivation rec {
2323 sha256 = "0w2dy2j9x5nc7x3g95j17r3m60vbfyn5j617h7js9xryv33yzpgx";
2424 };
2525
26− nativeBuildInputs = [ gyp which ninja python pkgconfig ];
26+ nativeBuildInputs = [ gyp which ninja python pkgconfig qt5.wrapQtAppsHook ];
2727 buildInputs = [ protobuf gtk2 zinnia qt5.qtbase libxcb fcitx gettext ];
2828
2929 postUnpack = ''
@@ -79,6 +79,8 @@ in clangStdenv.mkDerivation rec {
7979 install -D -m 755 out_linux/Release/mozc_server $out/lib/mozc/mozc_server
8080 install -m 755 out_linux/Release/mozc_tool $out/lib/mozc/mozc_tool
8181
82+ wrapQtApp $out/lib/mozc/mozc_tool
83+
8284 install -D -m 755 out_linux/Release/fcitx-mozc.so $out/lib/fcitx/fcitx-mozc.so
8385 install -D -m 644 unix/fcitx/fcitx-mozc.conf $out/share/fcitx/addon/fcitx-mozc.conf
8486 install -D -m 644 unix/fcitx/mozc.conf $out/share/fcitx/inputmethod/mozc.conf