Filip Nikolovski
Filip Nikolovski
I've managed to solve this problem using [`subprocess_env_vars`](https://www.pantsbuild.org/2.18/reference/subsystems/golang#subprocess_env_vars). Make sure to set the `GOPRIVATE` and `GIT_CONFIG_GLOBAL` env vars, along with the default ones: Example: ``` [golang] subprocess_env_vars = [ "LANG",...
Adding: ``` go_repository( name = "org_golang_x_oauth2", importpath = "golang.org/x/oauth2", sum = "h1:smVPGxink+n1ZI5pkQa8y6fZT0RW0MgCO5bFpepy4B4=", version = "v0.12.0", ) ``` before `go_rules_dependencies()` and `gazelle_dependencies()` seems to have fixed the issue. Thanks!