Commit Graph

557 Commits

Author SHA1 Message Date
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
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
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
Frederik Rietdijk
66bc7fc1b3 Merge master into staging-next 2019-09-06 22:46:05 +02:00
adisbladis
b611485ad5
go_1_10: Drop package
It's unsupported by upstream.
2019-09-05 22:33:41 +01:00
Frederik Rietdijk
5061fe0c2c Merge staging-next into staging 2019-08-28 08:26:42 +02:00
volth
35d68ef143 treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
Vladimír Čunát
985d1ac425
Merge branch 'master' into staging-next
There were several more conflicts from name -> pname+version;
all auto-solved by kdiff3, hopefully OK.

Hydra nixpkgs: ?compare=1538611
2019-08-25 14:57:11 +02:00
Roman Volosatovs
ef67737897
go: 1.12.7 -> 1.12.9
Co-authored-by: Diego Medina <fmpwizard@gmail.com>
2019-08-24 22:39:02 +02:00
Roman Volosatovs
d989d5261c
go: 1.11.12 -> 1.11.13
Co-authored-by: Diego Medina <fmpwizard@gmail.com>
2019-08-24 22:38:57 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Roman Volosatovs
7fd4ec66e7 go: Add rvolosatovs to maintainers 2019-07-17 10:22:58 +02:00
Roman Volosatovs
adf5588512 go_1_11: 1.11.11 -> 1.11.12 2019-07-17 10:22:58 +02:00
Roman Volosatovs
6e85a5a788 go_1_12: 1.12.6 -> 1.12.7 2019-07-17 10:22:58 +02:00
Vladimír Čunát
0aa9f35a99
Merge branch 'master' into staging-next
Hydra nixpkgs: ?compare=1525828
2019-06-18 09:44:13 +02:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Roman Volosatovs
fb657d7d15
go: 1.11.10 -> 1.11.11 2019-06-12 16:46:29 +02:00
Roman Volosatovs
c14e0181c2
go: 1.12.5 -> 1.12.6 2019-06-12 16:41:23 +02:00
Will Dietz
4a2fad0cf7 go_1_11: 1.11.{6 -> 10} 2019-05-21 12:25:18 +02:00
Will Dietz
fe7ee2976b go_1_12: 1.12.1 -> 1.12.5
https://groups.google.com/forum/#!topic/golang-dev/QwUlynmpl8A
2019-05-21 12:25:18 +02:00
Matthew Bauer
da38a49a24 treewide: mark bad packages
Some old stuff is known not to work.
2019-04-26 21:55:11 -04:00
Matthew Bauer
31060e23ba go: disable tests on darwin
Unfortunately, i can’t get these to work:

https://hydra.nixos.org/build/92530029/nixlog/1/tail

Hopefully we can fix them at some point.

/cc @cstrahan @orivej @mic92
2019-04-26 21:54:59 -04:00
Matthew Bauer
1b5021771b go1.12: remove dsymutil patch
stdenv provides dsymutil for us. Already done for other compilers but
not this one.
2019-04-26 21:54:58 -04:00
Matthew Bauer
8cabf4d5c5 treewide: rename llvm-dsymutil to dsymutil
This is a change introduced between llvm 5 and llvm 7.
2019-04-26 21:54:50 -04:00
John Ericson
4ccb74011f Merge commit '18aa59b0f26fc707e7313f8467e67159e61600c2' from master into staging
There was one conflict in the NixOS manual; I checked that it still
built after resolving it.
2019-04-01 00:40:03 -04:00
John Ericson
655a29ff9c ghc, go, guile: Use new pkgs*
`pkgsBuildTarget` allows us to avoid repeated and confusing conditions.
The others merely provide clarity for one the foreign package set's
target platform matters.
2019-03-24 22:12:15 -04:00
Wael M. Nasreddine
276d8c97bb
go_1_12: 1.12 -> 1.12.1 2019-03-21 22:33:43 -07:00
Wael M. Nasreddine
2d9d054bce
go_1_11: 1.11.5 -> 1.11.6 2019-03-21 22:33:42 -07:00
Wael Nasreddine
37d2f71e2f
go_1_12: set meta.branch to 1.12 (#56852) 2019-03-04 23:18:12 -08:00
Wael M. Nasreddine
252376c617
go_1_12: switch to fetchurl for sha256 consistency on Darwin
fetchFromGitHub and thus fetchzip hashes the contents of the archive and
not the archive itself. Unicode file names lead to different checksums
on HFS+ vs. other file systems because of Unicode normalisation
2019-03-03 16:32:04 -08:00
Wael M. Nasreddine
6ef04cabd4
go_1_12: init at go 1.12 2019-03-02 14:24:17 -08:00
Jörg Thalheim
dadc7eb329
treewide: use runtimeShell instead of stdenv.shell whenever possible
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
2019-02-26 14:10:49 +00:00
Vladimír Čunát
4851a04deb
go_1_10: fix tests after binutils update 2019-02-19 11:35:54 +01:00
adisbladis
affee8aa47
go_1_9: Drop go 1.9
Unsupported by upstream
2019-02-01 06:19:14 +00:00
Vladimír Čunát
a687ef9739
go_1_9: mark as insecure (see the parent commit)
Upstream only supports two latest releases.
https://github.com/golang/go/issues/29903#issuecomment-457307356
2019-01-27 11:33:57 +01:00
Vladimír Čunát
d32e779ae8
go_1_10: 1.10.7 -> 1.10.8 (security)
https://groups.google.com/forum/#!topic/golang-announce/mVeX35iXuSw
https://github.com/NixOS/nixpkgs/pull/54658
2019-01-27 11:29:13 +01:00
allowthere
d803da845f
go: 1.11.4 -> 1.11.5
https://groups.google.com/forum/#!msg/golang-announce/mVeX35iXuSw/Flp8FX7QEAAJ

We have just released Go 1.11.5 and Go 1.10.8 to address a recently reported security issue. We recommend that all users update to one of these releases (if you’re not sure which, choose Go 1.11.5).

This DoS vulnerability in the crypto/elliptic implementations of the P-521 and P-384 elliptic curves may let an attacker craft inputs that consume excessive amounts of CPU.

These inputs might be delivered via TLS handshakes, X.509 certificates, JWT tokens, ECDH shares or ECDSA signatures. In some cases, if an ECDH private key is reused more than once, the attack can also lead to key recovery.

The issue is CVE-2019-6486 and Go issue golang.org/issue/29903. See the Go issue for more details.
2019-01-27 02:59:44 +00:00
Jörg Thalheim
b5c1deca8a
treewide: remove wkennington as maintainer
He prefers to contribute to his own nixpkgs fork triton.
Since he is still marked as maintainer in many packages
this leaves the wrong impression he still maintains those.
2019-01-26 10:05:32 +00:00
rnhmjoj
ba7266c629
go: patch missing mimetype database 2019-01-20 00:58:57 +01:00
Benjamin Herr
ce2d980be8 go: 1.11.2 -> 1.11.4 2018-12-15 06:54:12 -08:00
Benjamin Herr
3cb3a24ce9 go_1_10: 1.10.3 -> 1.10.7 2018-12-15 06:53:50 -08:00
Jörg Thalheim
7b63cdcc07
go_1_11: remove build artifacts 2018-11-26 07:22:50 +00:00
Jörg Thalheim
79b9462468
go_1_11: fix cross compilation 2018-11-24 10:36:57 +00:00
Frederik Rietdijk
2219e2578e Merge staging-next into staging 2018-11-22 10:10:40 +01:00
Frederik Rietdijk
c31cb577ae Merge master into staging-next 2018-11-22 09:57:08 +01:00
Jörg Thalheim
416d8928b2 go_1_11: split into install/check phase
For cross compilation we want to skip installCheckPhase.
2018-11-22 04:17:43 +01:00
Jörg Thalheim
60c6dc3f5e go_1_11: remove unused postConfigure
Since it was overriding configurePhase postConfigure has not be used in a while.
2018-11-22 04:17:43 +01:00
Jörg Thalheim
ebe6575b43
go_1_10: update outdated meta.branch 2018-11-21 17:55:21 +00:00
Jörg Thalheim
a4f37346e7
go_1_11: update outdated meta.branch 2018-11-21 17:53:28 +00:00
Frederik Rietdijk
3b052406ea Merge staging-next into staging 2018-11-12 19:01:36 +01:00
ryan4729
b46f5e1277 go: organize GOARCH and GOOS 2018-11-11 14:37:12 -08:00
ryan4729
5302222337 go: make compiler usable for cross compiles 2018-11-10 22:41:46 -08:00
Jaka Hudoklin
734bd4ca54
go_1_11: 1.11 -> 1.11.2f
fixes #50180
2018-11-10 21:59:58 +00:00
Yegor Timoshenko
f969e6e474
go: do not wrap with go get tools
See: https://github.com/NixOS/nixpkgs/issues/46603

These tools are not required for `buildGoPackage`, while
significantly affecting closure size and build time.

This essentially reverts 458895db33.
2018-10-12 19:36:34 +00:00
Colin Rice
cdeb26ee76 go: Remove pkg/obj directory from the build outputs.
This appears to be causing the go package to be roughly 900MB in size.
2018-09-24 03:37:43 +00:00
Jörg Thalheim
51a6c88394 go_1_11: add url to flaky test 2018-09-16 11:08:53 +01:00
Bob van der Linden
0bf6b440d9
go: skip flaky os/exec TestExtraFiles
This seems to only happen on i686 on go 1.11. It also happens on
Debian. For more information:

https://github.com/golang/go/issues/25628
2018-09-15 18:46:18 +02:00
Sarah Brofeldt
17b6efaf3d go_1_11: Only allow one of GOARM=5, 6 or 7 2018-09-04 11:46:35 +02:00
John Ericson
2c2f1e37d4 reewide: Purge all uses stdenv.system and top-level system
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00
adisbladis
90d3ed0096
go_1_11: init at 1.11 2018-08-26 23:11:10 +08:00
Jörg Thalheim
218298b30f
Merge branch 'master' into unused5 2018-07-21 15:41:22 +01:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
volth
6d2857a311 [bot] treewide: remove unused 'inherit' in let blocks 2018-07-20 19:38:19 +00:00
Jörg Thalheim
b0f2233917 go_1_10: remove cache artifacts from package
fixes #42465
2018-07-13 20:02:36 -04:00
R. RyanTM
fce5759f24 go: 1.10.2 -> 1.10.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.

These checks were done:

- built on NixOS
- Warning: no invocation of /nix/store/sz746n0jm0n8dnv47d7cqvwny8ncfbi4-go-1.10.3/bin/gofmt had a zero exit code or showed the expected version
- /nix/store/sz746n0jm0n8dnv47d7cqvwny8ncfbi4-go-1.10.3/bin/.go-wrapped passed the binary check.
- /nix/store/sz746n0jm0n8dnv47d7cqvwny8ncfbi4-go-1.10.3/bin/go passed the binary check.
- 2 of 3 passed binary check by having a zero exit code.
- 0 of 3 passed binary check by having the new version present in output.
- found 1.10.3 with grep in /nix/store/sz746n0jm0n8dnv47d7cqvwny8ncfbi4-go-1.10.3
- directory tree listing: https://gist.github.com/499abd38cfb9318ba6bbcd885951c6b8
- du listing: https://gist.github.com/04fbe15eac23c814fa6b313c8e543e4c
2018-06-14 07:59:05 -07:00
Matthew Bauer
6748534d83 Merge remote-tracking branch 'upstream/master' into staging 2018-05-08 09:36:00 -05:00
xeji
a958d80051
Merge pull request #38309 from volth/fix37704
go_1_{9,10}: disable problematic tests in net module
2018-05-03 22:39:05 +02:00
R. RyanTM
59c22bf3a1 go: 1.10.1 -> 1.10.2
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.

These checks were done:

- built on NixOS
- ran ‘/nix/store/w2wgdl5ljbx1fq6iwlavrl4nzbchq954-go-1.10.2/bin/.go-wrapped help’ got 0 exit code
- ran ‘/nix/store/w2wgdl5ljbx1fq6iwlavrl4nzbchq954-go-1.10.2/bin/go help’ got 0 exit code
- found 1.10.2 with grep in /nix/store/w2wgdl5ljbx1fq6iwlavrl4nzbchq954-go-1.10.2
- directory tree listing: https://gist.github.com/249bfa4dc4d10281576f20de902e501a
2018-05-02 16:04:31 -07:00
John Ericson
ba52ae5048 treewide: isArm -> isAarch32
Following legacy packing conventions, `isArm` was defined just for
32-bit ARM instruction set. This is confusing to non packagers though,
because Aarch64 is an ARM instruction set.

The official ARM overview for ARMv8[1] is surprisingly not confusing,
given the overall state of affairs for ARM naming conventions, and
offers us a solution. It divides the nomenclature into three levels:

```
ISA:             ARMv8   {-A, -R, -M}
                 /    \
Mode:     Aarch32     Aarch64
             |         /   \
Encoding:   A64      A32   T32
```

At the top is the overall v8 instruction set archicture. Second are the
two modes, defined by bitwidth but differing in other semantics too, and
buttom are the encodings, (hopefully?) isomorphic if they encode the
same mode.

The 32 bit encodings are mostly backwards compatible with previous
non-Thumb and Thumb encodings, and if so we can pun the mode names to
instead mean "sets of compatable or isomorphic encodings", and then
voilà we have nice names for 32-bit and 64-bit arm instruction sets
which do not use the word ARM so as to not confused either laymen or
experienced ARM packages.

[1]: https://developer.arm.com/products/architecture/a-profile
2018-04-25 15:28:55 -04:00
volth
9e11e4ba64 go_1_{9,10}: disable TestVariousDeadlines test 2018-04-01 20:39:12 +00:00
volth
8a77a0ae0e go_1_{9,10}: disable TestWritevError test 2018-04-01 20:32:33 +00:00
Will Dietz
266cd103f1
Merge pull request #38076 from dtzWill/update/go-1.10.1
go: 1.10 -> 1.10.1
2018-03-29 18:06:24 -05:00
Will Dietz
1661c0b2c6 go: 1.10 -> 1.10.1 2018-03-29 17:17:12 -05:00
Will Dietz
166a632124 go: 1.9.4 -> 1.9.5 2018-03-29 17:15:57 -05:00
Matthew Bauer
ef428ab202 treewide: cleanup procps uses 2018-03-27 18:17:37 -05:00