gitRepo: add missing preInstall and postInstall hooks calls

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 9d161bd45c40168a8aa83667fa4bf1b600ccc262)
This commit is contained in:
Otavio Salvador 2021-05-29 21:21:10 -03:00 committed by github-actions[bot]
parent a5a6efd9b4
commit 042c54b758

View File

@ -23,8 +23,12 @@ stdenv.mkDerivation rec {
''; '';
installPhase = '' installPhase = ''
runHook preInstall
mkdir -p $out/bin mkdir -p $out/bin
cp repo $out/bin/repo cp repo $out/bin/repo
runHook postInstall
''; '';
# Important runtime dependencies # Important runtime dependencies