wkhtmltopdf-bin: runHook pre/post install phases

This commit is contained in:
Wael M. Nasreddine 2022-07-19 09:17:07 -07:00
parent bb3f5dda65
commit 19603a74aa
No known key found for this signature in database
GPG Key ID: 8EBD95DC147755A2

View File

@ -33,8 +33,10 @@ let
'';
installPhase = ''
runHook preInstall
mkdir -p $out
cp -r bin include lib share $out/
runHook postInstall
'';
};
@ -64,8 +66,10 @@ let
unpackPhase = "tar -xf $src";
installPhase = ''
runHook preInstall
mkdir -p $out
cp -r usr/bin usr/include usr/lib usr/share $out/
runHook postInstall
'';
};
in