3
0
Fork 0
forked from mirrors/nixpkgs

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 = '' installPhase = ''
runHook preInstall
mkdir -p $out/bin $out/share mkdir -p $out/bin $out/share
cp -v dump1090 view1090 $out/bin cp -v dump1090 view1090 $out/bin
cp -vr public_html $out/share/dump1090 cp -vr public_html $out/share/dump1090
runHook postInstall
''; '';
meta = with lib; { meta = with lib; {