Unverified Commit 19603a74 authored by Wael M. Nasreddine's avatar Wael M. Nasreddine
Browse files

wkhtmltopdf-bin: runHook pre/post install phases

parent bb3f5dda
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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