about summary refs log tree commit diff
path: root/pkgs/tools/graphics/wkhtmltopdf-bin
diff options
context:
space:
mode:
authorWael M. Nasreddine <wael.nasreddine@gmail.com>2022-07-19 09:17:07 -0700
committerWael M. Nasreddine <wael.nasreddine@gmail.com>2022-07-19 09:17:07 -0700
commit19603a74aabdda566be3f21efc8daee020b276b9 (patch)
treee3ce77c948ee8eb302cd8617b33d35c48dbef808 /pkgs/tools/graphics/wkhtmltopdf-bin
parentbb3f5dda652dd27880f26ceceedf6cccfe926650 (diff)
wkhtmltopdf-bin: runHook pre/post install phases
Diffstat (limited to 'pkgs/tools/graphics/wkhtmltopdf-bin')
-rw-r--r--pkgs/tools/graphics/wkhtmltopdf-bin/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/wkhtmltopdf-bin/default.nix b/pkgs/tools/graphics/wkhtmltopdf-bin/default.nix
index 166df83b63f7b..6f41f2826b2d1 100644
--- a/pkgs/tools/graphics/wkhtmltopdf-bin/default.nix
+++ b/pkgs/tools/graphics/wkhtmltopdf-bin/default.nix
@@ -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