diff options
author | Wael M. Nasreddine <wael.nasreddine@gmail.com> | 2022-07-19 09:17:07 -0700 |
---|---|---|
committer | Wael M. Nasreddine <wael.nasreddine@gmail.com> | 2022-07-19 09:17:07 -0700 |
commit | 19603a74aabdda566be3f21efc8daee020b276b9 (patch) | |
tree | e3ce77c948ee8eb302cd8617b33d35c48dbef808 /pkgs/tools/graphics/wkhtmltopdf-bin | |
parent | bb3f5dda652dd27880f26ceceedf6cccfe926650 (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.nix | 4 |
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 |