flake,ci: reenable GOPROXY var default
All checks were successful
continuous-integration/drone/push Build is passing

...mainly due to arbitrarily failing ci builds, as this doesn't appear
to affect local builds/nix builds on remote builders, just fresh builds
in the ci.
the explanation for why this is happening might be that certain package
VCS's don't allow many/frequent connections from IP ranges other than
GOPROXY's (Google's).
that is sheer speculation, though.
however, it is still true that there are "no" failed ci builds with
GOPROXY env var set to its default value (left untouched), which does
indeed indicate that the above mentioned might be the root cause of the
issue after all.

this commit reverts:
    * f3e481395e
and partially reverts:
    * 14ba7b18bf

GOPROXY=direct has been kept for `nix-shell`/`nix develop` environments
as that is not where it poses an issue.
This commit is contained in:
surtur 2022-07-08 17:13:13 +02:00
parent f58122320b
commit d2b5afe907
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
2 changed files with 2 additions and 14 deletions

@ -7,9 +7,6 @@ def main(ctx):
"kind": "pipeline", "kind": "pipeline",
"type": "docker", "type": "docker",
"name": "golangci-lint", "name": "golangci-lint",
"environment": {
"GOPROXY": "direct"
},
"steps": [ "steps": [
{ {
"name": "golangci-lint", "name": "golangci-lint",
@ -33,9 +30,6 @@ def main(ctx):
"node": { "node": {
"r": "w" "r": "w"
}, },
"environment": {
"GOPROXY": "direct"
},
"steps": [ "steps": [
{ {
"name": "pull nix", "name": "pull nix",
@ -282,9 +276,6 @@ def main(ctx):
"node": { "node": {
"r": "w" "r": "w"
}, },
"environment": {
"GOPROXY": "direct"
},
"steps": [ "steps": [
{ {
"name": "pull archlinux", "name": "pull archlinux",
@ -362,9 +353,6 @@ def main(ctx):
"node": { "node": {
"r": "w" "r": "w"
}, },
"environment": {
"GOPROXY": "direct"
},
"steps": [ "steps": [
{ {
"name": "pull fedora", "name": "pull fedora",

@ -77,7 +77,7 @@
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
overrideModAttrs = _: { overrideModAttrs = _: {
GOPROXY = "direct"; # GOPROXY = "direct";
}; };
inherit version; inherit version;
@ -93,7 +93,7 @@
modSha256 = lib.fakeSha256; modSha256 = lib.fakeSha256;
# dont't forget to update vendorSha256 whenever go.mod or go.sum change # dont't forget to update vendorSha256 whenever go.mod or go.sum change
vendorSha256 = "sha256-gaIoacCs0PcvmFW8dQOFUb9KU1u6KUiFmGQ/ERcVwjc="; vendorSha256 = "sha256-LvdcTbj8cFlaIBsq1VLfLF2Tu9HiZzGO8igD766nMLE=";
# In 'nix develop', we don't need a copy of the source tree # In 'nix develop', we don't need a copy of the source tree
# in the Nix store. # in the Nix store.