uncover: add versionCheckHook

This commit is contained in:
Fabian Affolter
2024-12-03 00:03:29 +01:00
parent 9006a16411
commit 5b5043eaa7
+7
View File
@@ -2,6 +2,7 @@
lib,
buildGoModule,
fetchFromGitHub,
versionCheckHook,
}:
buildGoModule rec {
@@ -19,11 +20,17 @@ buildGoModule rec {
subPackages = [ "cmd/uncover" ];
nativeInstallCheckInputs = [ versionCheckHook ];
ldflags = [
"-s"
"-w"
];
doInstallCheck = true;
versionCheckProgramArg = [ "-version" ];
meta = with lib; {
description = "API wrapper to search for exposed hosts";
longDescription = ''