Commit Graph

4 Commits

Author SHA1 Message Date
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