mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
fcitx5-mozc: add missing runHooks
(cherry picked from commit 6459c1eaa0)
This commit is contained in:
committed by
github-actions[bot]
parent
25e529028d
commit
ad223ddc68
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user