Skip to content

Commit 74c78f9

Browse files
mjoergbjornfor
authored andcommitted
lcov: add versionCheckHook
1 parent 27309c1 commit 74c78f9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pkgs/by-name/lc/lcov/package.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
python3,
77
perlPackages,
88
makeWrapper,
9+
versionCheckHook,
910
}:
1011

1112
let
@@ -58,6 +59,12 @@ stdenv.mkDerivation (finalAttrs: {
5859
done
5960
'';
6061

62+
doInstallCheck = true;
63+
64+
versionCheckProgramArg = "--version";
65+
66+
nativeInstallCheckInputs = [ versionCheckHook ];
67+
6168
meta = {
6269
description = "Code coverage tool that enhances GNU gcov";
6370

0 commit comments

Comments
 (0)