diff --git a/pkgs/by-name/re/reproxy/package.nix b/pkgs/by-name/re/reproxy/package.nix index 24290988a39b..df2bbe3a4351 100644 --- a/pkgs/by-name/re/reproxy/package.nix +++ b/pkgs/by-name/re/reproxy/package.nix @@ -3,12 +3,15 @@ buildGoModule, fetchFromGitHub, installShellFiles, + versionCheckHook, }: buildGoModule (finalAttrs: { pname = "reproxy"; version = "1.7.1"; + __structuredAttrs = true; + src = fetchFromGitHub { owner = "umputun"; repo = "reproxy"; @@ -22,7 +25,6 @@ buildGoModule (finalAttrs: { ldflags = [ "-s" - "-w" "-X main.revision=${finalAttrs.version}" ]; @@ -36,6 +38,9 @@ buildGoModule (finalAttrs: { installShellCompletion completions/* ''; + nativeInstallCheckInputs = [ versionCheckHook ]; + doInstallCheck = true; + __darwinAllowLocalNetworking = true; meta = {