Commit graph

329 commits

Author SHA1 Message Date
Frederik Rietdijk c33ca7c5ce Merge staging-next into staging 2020-07-02 17:14:53 +02:00
Bouke van der Bijl 81a8b76b3a go: only set CC when cross-compiling
This avoids he default CC for cgo being hardcoded, when we only want to
overwrite it during compilation.
2020-06-28 11:28:23 +10:00
Colin b71423ae38
go_1_15: init at 1.15beta1 (#91463) 2020-06-28 10:50:42 +10:00
Frederik Rietdijk 4af4a49251 Merge master into staging-next 2020-06-16 18:05:38 +02:00
zowoq 3050bbe9d4 maintainers/teams: add golang 2020-06-16 08:05:11 +10:00
Frederik Rietdijk 2e4b4e3300 Merge staging-next into staging 2020-06-13 11:03:26 +02:00
Mario Rodas 1cd56fc682
Merge pull request #89333 from zowoq/go_1_13
go_1_13: 1.13.11 -> 1.13.12
2020-06-12 22:19:46 -05:00
zowoq aae680cd5d go: fix TestDontCacheBrokenHTTP2Conn failure 2020-06-08 20:42:24 +10:00
zowoq 9f978147f8 go: 1.14.3 -> 1.14.4
https://golang.org/doc/devel/release.html#go1.14.minor
2020-06-02 09:32:40 +10:00
zowoq 7da08afd27 go_1_13: 1.13.11 -> 1.13.12
https://golang.org/doc/devel/release.html#go1.13.minor
2020-06-02 09:29:55 +10:00
Mario Rodas 760aa782a7
Merge pull request #87851 from zowoq/go1143
go: 1.14.2 -> 1.14.3
2020-05-18 19:29:47 -05:00
Jan Tojnar f8a9c6efac
Merge branch 'staging-next' into staging 2020-05-18 21:09:48 +02:00
zowoq d1e7b0049c go_1_13: 1.13.8 -> 1.13.11 2020-05-16 10:31:23 +10:00
zowoq 469f14ceec go_1_13: stop setting GOPATH
a1e13f6140
2020-05-16 10:31:12 +10:00
zimbatm 99efa7c85c
Revert "Get rid of go 1.13 (#86036)"
This partially reverts commit 3e0aa4af2d.

See the discussion in the PR.
2020-05-15 19:26:53 +02:00
zowoq 8d41f9f281 go: 1.14.2 -> 1.14.3
https://golang.org/doc/devel/release.html#go1.14.minor
2020-05-15 09:56:45 +10:00
Manuel Mendez a1e13f6140
go: stop setting GOPATH
The compiler does not need it anymore, has not needed it for many years
iirc. This just goes in and pollutes the environment overriding the
users GOPATH and causing grief.

Go even warns about it itself, without vs with this commit:

```sh
~> go env GOPATH
/home/manny/go
~> nix-shell -p go
~> go env GOPATH
warning: GOPATH set to GOROOT (/nix/store/gvw1mfpdrk7i82884yhxf9lf5j3c12zm-go-1.14.1/share/go) has no effect
/nix/store/gvw1mfpdrk7i82884yhxf9lf5j3c12zm-go-1.14.1/share/go
~> exit
~> nix-shell -I nixpkgs=cloned/NixOS/nixpkgs -p go
~> go env GOPATH
/home/manny/go
~> exit
```
2020-05-13 23:53:30 +01:00
Jörg Thalheim 416caeb6db
go: 1.14.1 -> 1.14.2 2020-05-05 17:59:19 +01:00
Colin 4007ceb6af
treewide get rid of go 1.12 (#83253)
* treewide Drop unneeded go 1.12 overrides

* Fix packr to be go module compatible.

I updated to version 2.8.0 which is the latest on master.
Then due to the 2 different sets of go modules which are used, I split
the build into two different derivations, then merged them togethor
using symlinkJoin to have the same output structure as the existing derivation.

* Remove consul dependency on go1.12

I updated the consul version to 1.7.2 and flipped it to building using
modules.

* Remove go1.12 from perkeep.

Update the version to the latest unstable on master.

* Update scaleway-cli to not be pinned to go1.12

Switched the version to 1.20

* Update prometheus-varnish-exporter to not depend on go1.12

* Update lnd to build with go1.12

Updated the version
Forced only building subpackages with main to prevent panics over
multiple modules in one repo

* Remove go1.12 from openshift

Had to update the version to 4.1.0 and do a bit of munging to get this
to work

* Remove go1.12 completely.

These are no longer needed.

* Update bazel-watcher and make it build with go 1.14
2020-04-28 20:16:20 -04:00
Colin 3e0aa4af2d
Get rid of go 1.13 (#86036)
Kubernetes builds with go1.14.
Terraform has an upstream patch which fixes the macos mojave issues -
it's a bug in terraform, not go.
2020-04-26 08:37:59 +00:00
Jan Tojnar a04625379a
Merge branch 'master' into staging-next 2020-04-13 18:50:35 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Florian Klink da2146ddeb go_1_14: 1.14 -> 1.14.1
This contains at least https://github.com/golang/go/issues/37807, which
currently causes some of our go binaries to just fail when booted with
older kernels.

See https://github.com/golang/go/issues/37436 for context.
2020-04-02 20:07:31 +02:00
Jörg Thalheim 0bba7474b3
go: propagate target build dependencies correctly
When using strict deps we have to use depsTargetTargetPropagated
as go is added as a nativeBuildInputs to our build.
2020-03-27 07:28:40 +00:00
Sergey Lukjanov 2f060f6a67 go_1_14: init at 1.14 and switch to it 2020-02-27 10:18:05 +01:00
Tyler Compton 2ae7a8d710 go_1_12, go_1_13: remove velovix from maintainers 2020-02-23 15:08:58 -08:00
Sergey Lukjanov 02b033417b go_1_12, go_1_13: add Frostman to maintainers 2020-02-16 08:55:26 +01:00
Sergey Lukjanov 634cb1cadc go_1_13: 1.13.7 -> 1.13.8 2020-02-16 08:55:26 +01:00
Sergey Lukjanov 9f406d3b10 go_1_12: 1.12.16 -> 1.12.17 2020-02-16 08:55:26 +01:00
Sergey Lukjanov 7956397ec2
go: remove not any more used patch files (#79597) 2020-02-09 03:58:39 -05:00
Sergey Lukjanov 1092ba6d1a go_1_13: 1.13.6 -> 1.13.7 2020-02-03 11:01:29 -08:00
Sergey Lukjanov 60bb60bab7 go_1_12: 1.12.15 -> 1.12.16 2020-02-03 11:01:29 -08:00
zowoq 3e30f5610f go_1_12: 1.12.10 -> 1.12.15 2020-01-11 09:17:50 +10:00
zowoq 116b5c5d56 go: 1.13.5 -> 1.13.6 2020-01-11 09:17:50 +10:00
Andrew Childs ffd68f21e8 go_1_12, go_1_13: skip TestExtraFiles on 32-bit arm (#76944)
The test is known to be flaky in some environments, and I'm seeing it
consistently in an armv7l-linux vm.
2020-01-10 07:27:30 -08:00
Frederik Rietdijk f3618342ec Merge staging-next into staging 2019-12-10 19:01:27 +01:00
R. RyanTM 85a369d427 go: 1.13.4 -> 1.13.5 (#75236) 2019-12-10 01:10:20 -08:00
Diego Medina 051bc353d0 go: do not replace path to mime.types 2019-12-08 07:20:23 -05:00
Diego Medina 5a0be78562 go: do not replace path to zoneinfo.zip
Prepend the nix path to the zoneinfo.zip file and keep the original alternatives
to allow go programs built using nix to run on non nix servers.

see https://github.com/NixOS/nixpkgs/issues/54603
2019-12-04 21:53:15 -05:00
R. RyanTM eb87a73fe0 go: 1.13.3 -> 1.13.4 2019-11-03 10:31:19 +01:00
R. RyanTM c307ed8170 go: 1.13.1 -> 1.13.3
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/go/versions
2019-10-22 10:11:50 +02:00
Frederik Rietdijk 12441bdf9f Merge staging-next into staging 2019-10-16 11:17:12 +02:00
Vladimír Čunát 610afbca84
Revert "go: apply upstream patch"
This reverts commit d8218de5c5.
It makes no sense after the parent commit.
2019-10-16 10:49:23 +02:00
Dima cffba01e12
go_1_12: disable flakey TestGcSys test (PR #70368)
In our tests we have experienced failures of this test,
but it was otherwise not reproducible so far. A backported
upstream fix did not alleviate the issue either, so disabling
seems workable for now.
2019-10-16 10:49:22 +02:00
Jan Tojnar e2e3861d6b
Merge branch 'staging-next' into staging 2019-10-12 00:51:55 +02:00
Roman Volosatovs f93ea5abe1
go_1_13: add kalbasit to maintainers 2019-10-11 10:09:11 +02:00
Roman Volosatovs bd023200a9
go_1_13: init at 1.13.1 2019-10-11 10:09:05 +02:00
Vladimír Čunát d8218de5c5
go: apply upstream patch
This should fix the tests almost always failing on Hydra for i686.
2019-10-09 08:41:19 +02:00
Dima aa467810a5 go_1_12: 1.12.9 -> 1.12.10
GO 1.12.10 has been released 5 days ago, so
bumping it in the hope that it also fixes some
flakey GC tests.

Also see https://github.com/NixOS/nixpkgs/pull/69359
2019-10-02 06:09:08 +02:00
adisbladis 3e501fe168
go_1_11: Drop package
It's unsupported by upstream.
2019-09-11 14:33:13 +01:00