mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
pdfcpu: Add an installCheck
This commit is contained in:
parent
3ffb1e60e5
commit
6494a49b1a
@ -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" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user