3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

13 commits

Author SHA1 Message Date
zowoq 2ce4d21663 go_1_16: 1.16.7 -> 1.16.8 2021-09-12 10:48:00 +10:00
zowoq 869e4a894e go_1_16: 1.16.6 -> 1.16.7 2021-08-06 07:37:23 +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
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 b3a05d2ccb go_1_16: 1.16.4 -> 1.16.5 2021-06-05 09:54:25 +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
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
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 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