diff --git a/pkgs/applications/graphics/pdfcpu/default.nix b/pkgs/applications/graphics/pdfcpu/default.nix index 29cbbf257ac3..f2ffa143aebb 100644 --- a/pkgs/applications/graphics/pdfcpu/default.nix +++ b/pkgs/applications/graphics/pdfcpu/default.nix @@ -15,6 +15,12 @@ buildGoModule rec { # No tests doCheck = false; + doInstallCheck = true; + installCheckPhase = '' + export HOME=$(mktemp -d) + echo checking the version print of pdfcpu + $out/bin/pdfcpu version | grep ${version} + ''; subPackages = [ "cmd/pdfcpu" ];