Commit graph

377 commits

Author SHA1 Message Date
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
Terin Stock
860a644e0d go_1_15: 1.15.7 -> 1.15.8 2021-02-14 07:40:21 +10:00
Terin Stock
54772e7670 go_1_14: 1.14.14 -> 1.14.15 2021-02-14 07:40:21 +10:00
github-actions[bot]
58752914f4
Merge master into staging-next 2021-01-23 12:40:13 +00:00
Ben Siraphob
acc5f7b18a pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
github-actions[bot]
e5fef074d6
Merge staging-next into staging 2021-01-21 01:19:31 +00:00
zowoq
5313326b7f go_1_15: 1.15.6 -> 1.15.7 2021-01-21 06:56:22 +10:00
zowoq
3bcd19086c go_1_14: 1.14.13 -> 1.14.14 2021-01-21 06:56:22 +10:00
Jan Tojnar
fc7bd322df
Merge branch 'staging-next' into staging 2021-01-19 13:50:04 +01:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
adisbladis
7be71af02a
go: Introduce environment variable GO_NO_VENDOR_CHECKS to relax go vendor checks
This is used in https://github.com/tweag/gomod2nix to reconstruct a
vendor metadata file.

With the vendor checks we need a lot more metadata which isn't
relevant for building packages, especially since we've already locked
the dependency graph ahead of time

This has been ported from FreeBSD: https://reviews.freebsd.org/D24122
2021-01-12 18:08:41 +01:00
zowoq
134b008891 go: remove meta.branch
Only needed for `disabled` in `buildGo{Module,Package}`.
2021-01-11 06:00:38 +10:00
zowoq
fe13e4fa6f go_2-dev: change pname/version to use unstable format
otherwise this causes problems with stable go versions and nix-env
2021-01-04 06:49:46 +10:00
Elliot Cameron
fd6f76bf9b
go_2-dev: init at dev.go2go branch
Head of dev.go2go branch was abe4d3dce12252ed09216eaa67b7dab8c8922537
at time of writing.
2020-12-31 12:55:38 -05:00
zowoq
14a7df6cf1 go_1_15: 1.15.5 -> 1.15.6 2020-12-04 13:41:03 +10:00
zowoq
852e039e44 go_1_14: 1.14.12 -> 1.14.13 2020-12-04 13:41:03 +10:00
zowoq
82b7b0f6a5 go_bootstrap: 1.4-bootstrap-20161024 -> 1.4-bootstrap-bdd4b95
Remove tests, they are disabled by upstream.

182bdbb1e1

> The 1.4 tests aren't necessarily supposed to pass.
2020-12-04 13:41:03 +10:00
zowoq
a25913605b go_1_15: 1.15.4 -> 1.15.5 2020-11-13 11:19:34 +10:00
zowoq
1692a8a584 go_1_14: 1.14.11 -> 1.14.12 2020-11-13 11:19:34 +10:00
zowoq
d1febbeb1b go_1_15: 1.15.3 -> 1.15.4 2020-11-06 13:55:33 +10:00
zowoq
ffb658f66a go_1_14: 1.14.10 -> 1.14.11 2020-11-06 13:55:33 +10:00
zowoq
8c9bb91c34 go_bootstrap: disable failing timezone tests 2020-10-28 00:37:40 +10:00
zowoq
6084c2e874 go_1_15: 1.15.2 -> 1.15.3 2020-10-15 19:00:37 +10:00
zowoq
4f282b19bd go_1_14: 1.14.9 -> 1.14.10 2020-10-15 19:00:10 +10:00
Ryan Burns
8c5f66fbdf go: fix cross, enable ppc64le 2020-10-04 16:11:49 -07:00
zowoq
619061532a go_1_14: 1.14.8 -> 1.14.9 2020-09-11 09:53:55 +10:00
zowoq
240d8246e8 go: 1.15.1 -> 1.15.2 2020-09-11 09:53:27 +10:00
zowoq
eef56567c4 go_1_14: 1.14.7 -> 1.14.8 2020-09-03 07:54:09 +10:00
Sascha Grunert
57b91fc5ad go: 1.15 -> 1.15.1
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-09-02 07:36:15 +10:00
Jan Tojnar
91104b5417
Merge branch 'master' into staging-next 2020-08-23 02:00:50 +02:00
Thomas Bereknyei
a3b69f46af go_1_15: 1.15beta1 -> 1.15 2020-08-21 12:21:58 +10:00
Frederik Rietdijk
cfe6081cee Merge staging-next into staging 2020-08-15 09:12:42 +02:00
zowoq
1790e642f2
go_1_13: remove (#95478) 2020-08-14 21:17:14 -07:00
Frederik Rietdijk
cb634b2aa5 Merge staging-next into staging 2020-08-07 23:02:23 +02:00
zowoq
792f562ad5 go: 1.14.6 -> 1.14.7 2020-08-07 13:45:23 +10:00
zowoq
1a83aa1190 go_1_13: 1.13.14 -> 1.13.15 2020-08-07 13:44:42 +10:00
Vladimír Čunát
4244b73917
Merge branch 'master' into staging 2020-07-18 17:50:23 +02:00
zowoq
4c99c5543c go: 1.14.5 -> 1.14.6 2020-07-17 16:17:36 +10:00
zowoq
9cbf74bb7b go_1_13: 1.13.13 -> 1.13.14 2020-07-17 14:07:15 +10:00
zowoq
af1b0c92ad go: 1.14.4 -> 1.14.5 2020-07-17 09:28:19 +10:00
zowoq
ea3d6dddd8 go_1_13: 1.13.12 -> 1.13.13 2020-07-16 13:00:58 +10:00
zowoq
3bfa73bbe8 go_1_15: go: only set CC when cross-compiling
81a8b76b3a
2020-07-16 12:50:33 +10:00
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