summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornatsukium <tomoya.otabi@gmail.com>2023-04-01 09:44:00 +0900
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-04-07 22:17:50 +0000
commitad223ddc68aa30df847f424f27df0b084e59b882 (patch)
tree50282dfae3acdc409ccc4b66c0c8d5556179835a
parentfcitx5-mozc: wrapQtApp for mozc_tool (diff)
downloadnixpkgs-origin/backport-224077-to-release-22.11.tar.gz
fcitx5-mozc: add missing runHooksorigin/backport-224077-to-release-22.11
(cherry picked from commit 6459c1eaa0741492a46a70c0c38ba5d3b6094cd3)
-rw-r--r--pkgs/tools/inputmethods/fcitx5/fcitx5-mozc.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/tools/inputmethods/fcitx5/fcitx5-mozc.nix b/pkgs/tools/inputmethods/fcitx5/fcitx5-mozc.nix
index 9a3860ec2b57..92a0474ef199 100644
--- a/pkgs/tools/inputmethods/fcitx5/fcitx5-mozc.nix
+++ b/pkgs/tools/inputmethods/fcitx5/fcitx5-mozc.nix
@@ -84,13 +84,19 @@ in clangStdenv.mkDerivation rec {
'';
buildPhase = ''
+ runHook preBuild
+
python build_mozc.py build -c Release \
server/server.gyp:mozc_server \
gui/gui.gyp:mozc_tool \
unix/fcitx5/fcitx5.gyp:fcitx5-mozc
+
+ runHook postBuild
'';
installPhase = ''
+ runHook preInstall
+
export PREFIX=$out
export _bldtype=Release
../scripts/install_server
@@ -101,6 +107,8 @@ in clangStdenv.mkDerivation rec {
install -d $out/share/fcitx5/inputmethod
install -d $out/lib/fcitx5
../scripts/install_fcitx5
+
+ runHook postInstall
'';
preFixup = ''