mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +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