diff options
| author | natsukium <tomoya.otabi@gmail.com> | 2023-04-01 09:44:00 +0900 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-04-07 22:17:50 +0000 |
| commit | ad223ddc68aa30df847f424f27df0b084e59b882 (patch) | |
| tree | 50282dfae3acdc409ccc4b66c0c8d5556179835a | |
| parent | fcitx5-mozc: wrapQtApp for mozc_tool (diff) | |
| download | nixpkgs-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.nix | 8 |
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 = '' |
