zls: Run pre/post install hooks

See https://nixos.org/manual/nixpkgs/stable/#sec-stdenv-phases.
This commit is contained in:
PoweredByPie 2023-02-17 23:32:31 -08:00
parent 60acc5a747
commit 48956a029e

View file

@ -21,7 +21,9 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
runHook preInstall
zig build -Drelease-safe -Dcpu=baseline --prefix $out install
runHook postInstall
'';
meta = with lib; {