tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
subfinder: Disable version check on startup
Dionysis Grigoropoulos
1 year ago
459a729d
f8fa46d7
+16
2 changed files
expand all
collapse all
unified
split
pkgs
by-name
su
subfinder
disable-update-check.patch
package.nix
+11
pkgs/by-name/su/subfinder/disable-update-check.patch
···
0
0
0
0
0
0
0
0
0
0
0
···
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
20
modRoot = "./v2";
21
0
0
0
0
0
22
subPackages = [
23
"cmd/subfinder/"
24
];
···
19
20
modRoot = "./v2";
21
22
+
patches = [
23
+
# Disable automatic version check
24
+
./disable-update-check.patch
25
+
];
26
+
27
subPackages = [
28
"cmd/subfinder/"
29
];