about summary refs log tree commit diff
path: root/pkgs/applications/graphics/pdfcpu
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/graphics/pdfcpu')
-rw-r--r--pkgs/applications/graphics/pdfcpu/default.nix6
1 files changed, 6 insertions, 0 deletions
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" ];