diff options
author | Doron Behar <doron.behar@gmail.com> | 2021-12-08 07:04:56 +0200 |
---|---|---|
committer | Doron Behar <doron.behar@gmail.com> | 2021-12-08 07:04:56 +0200 |
commit | 6494a49b1a60bcdc3368f1418dac9df6549e1a1f (patch) | |
tree | 2df205363f7e71aa95b216675a059480c2554980 /pkgs/applications/graphics | |
parent | 3ffb1e60e585477ea6b8eae20363aebc46ea49cb (diff) |
pdfcpu: Add an installCheck
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r-- | pkgs/applications/graphics/pdfcpu/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/pdfcpu/default.nix b/pkgs/applications/graphics/pdfcpu/default.nix index 29cbbf257ac37..f2ffa143aebbd 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" ]; |