Browse Source

add missing patch file

Signed-off-by: Toshaan Bharvani <toshaan@powerel.org>
master
Toshaan Bharvani 2 years ago
parent
commit
1c4ecb610a
  1. 13
      SOURCES/disable-google-proxy-and-sumdb.patch

13
SOURCES/disable-google-proxy-and-sumdb.patch

@ -0,0 +1,13 @@ @@ -0,0 +1,13 @@
--- go/src/cmd/go/internal/cfg/cfg.go 2022-07-10 10:55:00.870000000 +0200
+++ go/src/cmd/go/internal/cfg/cfg.go 2022-07-10 10:56:17.240000000 +0200
@@ -276,8 +276,8 @@
GOPPC64 = envOr("GOPPC64", fmt.Sprintf("%s%d", "power", buildcfg.GOPPC64))
GOWASM = envOr("GOWASM", fmt.Sprint(buildcfg.GOWASM))

- GOPROXY = envOr("GOPROXY", "https://proxy.golang.org,direct")
- GOSUMDB = envOr("GOSUMDB", "sum.golang.org")
+ GOPROXY = envOr("GOPROXY", "direct")
+ GOSUMDB = envOr("GOSUMDB", "off")
GOPRIVATE = Getenv("GOPRIVATE")
GONOPROXY = envOr("GONOPROXY", GOPRIVATE)
GONOSUMDB = envOr("GONOSUMDB", GOPRIVATE)
Loading…
Cancel
Save