tabnine: add runHook to installPhase

This commit is contained in:
Bernardo Meurer 2021-07-09 11:39:19 -07:00
parent c4212c8bf6
commit befa5eafd3
No known key found for this signature in database
GPG key ID: F4C0D53B8D14C246

View file

@ -31,10 +31,12 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ unzip ]; nativeBuildInputs = [ unzip ];
installPhase = '' installPhase = ''
runHook preInstall
install -Dm755 TabNine $out/bin/TabNine install -Dm755 TabNine $out/bin/TabNine
install -Dm755 TabNine-deep-cloud $out/bin/TabNine-deep-cloud install -Dm755 TabNine-deep-cloud $out/bin/TabNine-deep-cloud
install -Dm755 TabNine-deep-local $out/bin/TabNine-deep-local install -Dm755 TabNine-deep-local $out/bin/TabNine-deep-local
install -Dm755 WD-TabNine $out/bin/WD-TabNine install -Dm755 WD-TabNine $out/bin/WD-TabNine
runHook postInstall
''; '';
meta = with lib; { meta = with lib; {