tldfinder: add versionCheckHook (#555681)

This commit is contained in:
Fabian Affolter
2026-08-23 13:25:41 +00:00
committed by GitHub

View File

@@ -4,11 +4,13 @@
fetchFromGitHub,
nix-update-script,
versionCheckHook,
writableTmpDirAsHomeHook,
}:
buildGoModule (finalAttrs: {
pname = "tldfinder";
version = "0.0.2";
__structuredAttrs = true;
src = fetchFromGitHub {
@@ -22,6 +24,15 @@ buildGoModule (finalAttrs: {
ldflags = [ "-s" ];
nativeInstallCheckInputs = [
versionCheckHook
writableTmpDirAsHomeHook
];
doInstallCheck = true;
versionCheckKeepEnvironment = [ "HOME" ];
passthru.updateScript = nix-update-script { };
meta = {