Commit Graph

420 Commits

Author SHA1 Message Date
Dmitry Kalinkin
477540469e
Merge branch 'master' into staging-next
Conflicts:
	pkgs/development/python-modules/gradient-utils/default.nix
	pkgs/development/python-modules/gradient/default.nix
2022-01-08 02:39:35 -05:00
zowoq
cacab72b75 go_1_17: 1.17.5 -> 1.17.6 2022-01-08 10:38:36 +10:00
zowoq
d50b6bff89 go_1_16: 1.16.12 -> 1.16.13 2022-01-08 10:38:32 +10:00
github-actions[bot]
0f2bb5a63f
Merge master into staging-next 2021-12-10 12:01:12 +00:00
Jörg Thalheim
e42adefce1 go: add mipsel/riscv64/s390x support 2021-12-10 09:19:23 +01:00
github-actions[bot]
b2a2a5759e
Merge master into staging-next 2021-12-10 06:01:17 +00:00
zowoq
388f0db0af go_1_17: 1.17.4 -> 1.17.5 2021-12-10 14:00:29 +10:00
zowoq
5d33b5183b go_1_16: 1.16.11 -> 1.16.12 2021-12-10 07:57:12 +10:00
github-actions[bot]
c6934c5adf
Merge master into staging-next 2021-12-04 06:01:19 +00:00
zowoq
bb9bd465b6 go_1_17: 1.17.3 -> 1.17.4 2021-12-04 14:07:50 +10:00
zowoq
2100043ba9 go_1_16: 1.16.10 -> 1.16.11 2021-12-02 19:32:00 -08:00
github-actions[bot]
956b399ffa
Merge master into staging-next 2021-11-26 12:01:30 +00:00
zowoq
38ee5f8707 go: update URLs
golang.org redirects to go.dev
2021-11-26 19:12:14 +10:00
zowoq
cc8cade9ba go_1_16: 1.16.9 -> 1.16.10 2021-11-26 11:36:32 +10:00
Sandro Jäckel
32ef30ce24
go_1_17: 1.17.2 -> 1.17.3 2021-11-08 17:25:40 +01:00
Ryan Burns
e1fad6fc50 go_1_17: enable on x86_64-darwin
Apparently this does not depend on stdenv's macOS SDK at all,
and carries around its own go-specific toolchain. So this works
fine as-is and doesn't need any changes in Nixpkgs to support a
10.13 deployment target.
2021-11-04 15:40:44 -07:00
Artur Cygan
9a0676dc48 go: use tzdata from Nix on Darwin 2021-10-22 09:04:12 +10:00
zowoq
615989e078 go_1_17: 1.17.1 -> 1.17.2 2021-10-13 10:03:40 +10:00
zowoq
dcb39fae95 go_1_16: 1.16.8 -> 1.16.9 2021-10-13 10:03:40 +10:00
zowoq
2ce4d21663 go_1_16: 1.16.7 -> 1.16.8 2021-09-12 10:48:00 +10:00
zowoq
9675a865c9 buildGo117{Module,Package}: disable, go_1_17: disable on x86_64-darwin 2021-09-11 10:44:23 +10:00
zowoq
273ff5cf17 go_1_17: init at 1.17.1 2021-09-11 10:44:23 +10:00
zowoq
2a23aa28d6 go_1_14: remove 2021-08-20 15:59:30 +10:00
zowoq
869e4a894e go_1_16: 1.16.6 -> 1.16.7 2021-08-06 07:37:23 +10:00
zowoq
1d3f4cd77f go_1_15: 1.15.14 -> 1.15.15 2021-08-06 07:37:08 +10:00
Serge Bazanski
c00d507f97 go: enable MIPS GOARCH/cross integration
This allows the Go compiler in nixpkgs (eg. buildGoModule) to work with
crossSystem.config == mips-*, eg mips-unknown-linux-musl, and
succesfully generate Go MIPS binaries.

nix-build -A grpcurl --arg crossSystem '{ config = "mips-unknown-linux-musl"; }'

This unfortunately cannot currently be tested on qemu-mips as Go emits
ELF files that fail to execute correctly in qemu-user (see:
https://go-review.googlesource.com/c/go/+/239217, on track to land in Go
1.17). However, I have tested this on a physical MIPS device.

I have not been able to build anything using cgo (hit various
compilation errors in C dependencies), but considering
mips-unknown-linux-musl is not a support nixpkgs target this isn't that
surprising.
2021-07-21 00:43:16 +02:00
Maxine Aubrey
4695639fde
go_1_16: 1.16.5 -> 1.16.6 2021-07-13 17:55:35 +02:00
Maxine Aubrey
25eb6344d0
go_1_15: 1.15.13 -> 1.15.14 2021-07-13 17:55:25 +02:00
zowoq
88f1ca731c go: cleanup 2021-06-05 09:58:51 +10:00
zowoq
3a365e0e50 go: format with nixpkgs-fmt 2021-06-05 09:57:28 +10:00
zowoq
99697d891d go: add runHooks to bootstrap binary 2021-06-05 09:54:25 +10:00
zowoq
b3a05d2ccb go_1_16: 1.16.4 -> 1.16.5 2021-06-05 09:54:25 +10:00
zowoq
d038f95450 go_1_15: 1.15.12 -> 1.15.13 2021-06-05 09:54:25 +10:00
zowoq
51dbbde885 go_1_15: disable on aarch64-darwin
aarch64-darwin is only supported on >= 1.16
2021-06-05 09:54:25 +10:00
Elliot Cameron
08ab7e10f3 go_2-dev: 2021-03-22 -> 2021-04-13 2021-05-17 06:15:35 +10:00
Danielle Lancashire
a916ffbb27 go_1_15: 1.15.11 -> 1.15.12 2021-05-08 07:03:21 +10:00
Danielle Lancashire
54ada505a8 go_1_16: 1.16.3 -> 1.16.4 2021-05-08 07:03:21 +10:00
Maxine Aubrey
0f1e22421e go_1_16: 1.16.2 -> 1.16.3 2021-04-17 06:11:56 +10:00
Roman Volosatovs
7f35119b94 go_2-dev: 2020-12-08 -> 2021-03-22 2021-04-12 18:48:50 +10:00
kraem
004584d3b6
go_1_15: 1.15.10 -> 1.15.11 2021-04-08 10:00:47 +02:00
Ben Wolsieffer
8178d877ac go: fix bootstrapping on 32-bit ARM
On 32-bit ARM, the wrong name was used for the prebuilt bootstrap tarball,
causing an eval failure.
2021-03-18 18:59:34 +10:00
Maxine Aubrey
eecacdf3d8 go_1_16: 1.16 -> 1.16.2
fixes CVE-2021-27918, CVE-2021-27919
2021-03-14 03:14:28 -04:00
Maxine Aubrey
6a99841c11 go_1_15: 1.15.8 -> 1.15.10
fixes CVE-2021-27918, CVE-2021-27919
2021-03-14 03:14:28 -04:00
Masanori Ogino
b51b5a104b go_1_14, go_1_15: support colon at start of TZ
See also: https://github.com/NixOS/nixpkgs/pull/113555

Signed-off-by: Masanori Ogino <167209+omasanori@users.noreply.github.com>
2021-02-28 14:31:31 +10:00
zowoq
a86974cf90 go_1_14: set knownVulnerabilities
Support for Go 1.14 ended with the release of Go 1.16: https://golang.org/doc/devel/release.html#policy
2021-02-20 08:09:59 +10:00
Ryan Burns
9511f29f40 go: fix cross-compilation
Because:

* `go-bootstrap` is a native build input of go, so it needs to have
  an offset of -1. Otherwise, e.g. when building a go cross-compiler,
  it will try to make go-bootstrap a cross-compiler too.
* have to specify `buildPackages` for the `stdenv` override, otherwise
  `buildPackages.stdenv` will be the same as `pkgs.gcc8Stdenv`.
2021-02-20 08:09:42 +10:00
Ivan Babrou
6fff56280f go: do not strip bootstrap on darwin 2021-02-20 08:09:42 +10:00
Ivan Babrou
cf69b3e801 go: use binary bootstrap for all platforms
This mirrors what Rust does and allows us to drop go1.4 from the process.
2021-02-20 08:09:42 +10:00
Colin L Rice
9eb88a2e1d go_1_16: init at 1.16
Changes are minor - I ended up just patching the ssl certs at the root
file, rather than trying to keep up with the various darwin changes.

The externalnetwork test helper location changed, to so I had to update
that patch as well.

- Add xcbuild as propagatedBuildInput on darwin 7e25bdba5e
2021-02-17 06:30:32 +10:00
zowoq
d9be3c767c
go_bootstrap: remove top-level attribute (#113113)
this package should only be used internally for go_*
2021-02-15 10:06:35 -08:00