Add recommended runHook pre/postInstall

This commit is contained in:
James Earl Douglas 2021-05-01 16:10:45 -07:00
parent a64f36311a
commit 6ca946ee90
No known key found for this signature in database
GPG Key ID: 68FFA9882799E920

View File

@ -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; {