mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Add recommended runHook pre/postInstall
This commit is contained in:
parent
a64f36311a
commit
6ca946ee90
1 changed files with 4 additions and 0 deletions
|
@ -28,9 +28,13 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin $out/share
|
||||
cp -v dump1090 view1090 $out/bin
|
||||
cp -vr public_html $out/share/dump1090
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue