mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
wkhtmltopdf-bin: runHook pre/post install phases
This commit is contained in:
parent
bb3f5dda65
commit
19603a74aa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user