From 19603a74aabdda566be3f21efc8daee020b276b9 Mon Sep 17 00:00:00 2001 From: "Wael M. Nasreddine" Date: Tue, 19 Jul 2022 09:17:07 -0700 Subject: [PATCH] wkhtmltopdf-bin: runHook pre/post install phases --- pkgs/tools/graphics/wkhtmltopdf-bin/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/graphics/wkhtmltopdf-bin/default.nix b/pkgs/tools/graphics/wkhtmltopdf-bin/default.nix index 166df83b63f7..6f41f2826b2d 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