picoc: add missing phase hooks

This commit is contained in:
Donovan Glover 2024-04-30 04:33:04 -04:00
parent a683496076
commit f25b436961
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -23,10 +23,14 @@ stdenv.mkDerivation {
checkTarget = "test";
installPhase = ''
runHook preInstall
install -Dm755 picoc $out/bin/picoc
mkdir -p $out/include
install -m644 *.h $out/include
runHook postInstall
'';
meta = with lib; {