summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/radio/dump1090
diff options
context:
space:
mode:
authorJames Earl Douglas <james@earldouglas.com>2021-05-01 16:10:45 -0700
committerJames Earl Douglas <james@earldouglas.com>2021-05-01 16:10:45 -0700
commit6ca946ee9081cd7129afb39d469bfee921496bbf (patch)
tree3ccef842bcde6c78bf37f76eded94a13786dcb01 /pkgs/applications/radio/dump1090
parenta64f36311aafd6a414f361f7d144eef7d2a22272 (diff)
Add recommended `runHook pre/postInstall`
Diffstat (limited to 'pkgs/applications/radio/dump1090')
-rw-r--r--pkgs/applications/radio/dump1090/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/radio/dump1090/default.nix b/pkgs/applications/radio/dump1090/default.nix
index 747751f9417c..927fa32bd55b 100644
--- a/pkgs/applications/radio/dump1090/default.nix
+++ b/pkgs/applications/radio/dump1090/default.nix
@@ -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; {