alterx: add versionCheckHook

This commit is contained in:
Fabian Affolter
2026-08-23 14:15:16 +02:00
parent 00c7888f3d
commit 31bce44664

View File

@@ -2,6 +2,8 @@
lib,
buildGoModule,
fetchFromGitHub,
versionCheckHook,
writableTmpDirAsHomeHook,
}:
buildGoModule (finalAttrs: {
@@ -19,8 +21,17 @@ buildGoModule (finalAttrs: {
vendorHash = "sha256-13ODJNo6xbQkubaGJT3svFbOLbdsHluTCp1Gom+jYeU=";
nativeInstallCheckInputs = [
versionCheckHook
writableTmpDirAsHomeHook
];
ldflags = [ "-s" ];
doInstallCheck = true;
versionCheckKeepEnvironment = [ "HOME" ];
meta = {
description = "Fast and customizable subdomain wordlist generator using DSL";
homepage = "https://github.com/projectdiscovery/alterx";