subfinder: Disable version check on startup

+16
+11
pkgs/by-name/su/subfinder/disable-update-check.patch
··· 1 + --- a/v2/pkg/runner/options.go 2 + +++ b/v2/pkg/runner/options.go 3 + @@ -107,7 +107,7 @@ func ParseOptions() *Options { 4 + 5 + flagSet.CreateGroup("update", "Update", 6 + flagSet.CallbackVarP(GetUpdateCallback(), "update", "up", "update subfinder to latest version"), 7 + - flagSet.BoolVarP(&options.DisableUpdateCheck, "disable-update-check", "duc", false, "disable automatic subfinder update check"), 8 + + flagSet.BoolVarP(&options.DisableUpdateCheck, "disable-update-check", "duc", true, "disable automatic subfinder update check"), 9 + ) 10 + 11 + flagSet.CreateGroup("output", "Output",
+5
pkgs/by-name/su/subfinder/package.nix
··· 19 19 20 20 modRoot = "./v2"; 21 21 22 + patches = [ 23 + # Disable automatic version check 24 + ./disable-update-check.patch 25 + ]; 26 + 22 27 subPackages = [ 23 28 "cmd/subfinder/" 24 29 ];