liquidprompt: run preInstall and postInstall hooks

This commit is contained in:
José Romildo 2023-10-24 20:22:12 -03:00
parent fa107c65e4
commit 22277f6274

View File

@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
strictDeps = true;
installPhase = ''
runHook preInstall
install -D -m 0444 liquidprompt $out/bin/liquidprompt
install -D -m 0444 liquidpromptrc-dist $out/share/doc/liquidprompt/liquidpromptrc-dist
install -D -m 0444 liquid.theme $out/share/doc/liquidprompt/liquid.theme
@ -21,6 +23,8 @@ stdenv.mkDerivation rec {
$out/share/zsh/plugins/liquidprompt/liquidprompt.plugin.zsh
install -D -m 0444 liquidprompt \
$out/share/zsh/plugins/liquidprompt/liquidprompt
runHook postInstall
'';
passthru.updateScript = gitUpdater { };