mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-22 21:30:45 +02:00
zls: Run pre/post install hooks
See https://nixos.org/manual/nixpkgs/stable/#sec-stdenv-phases.
This commit is contained in:
parent
60acc5a747
commit
48956a029e
|
@ -21,7 +21,9 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
zig build -Drelease-safe -Dcpu=baseline --prefix $out install
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue