3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

233 commits

Author SHA1 Message Date
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
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
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
adisbladis 0b3a5b567a
Merge pull request #35350 from adisbladis/drop/go-1_8
go: Remove old version 1.8
2018-02-23 14:29:25 +08:00
Jörg Thalheim d81e32be2a
Merge pull request #35330 from Mic92/go
go_1_10: init at 1.10 and set as default
2018-02-22 23:00:23 +00:00
adisbladis 1cba8cc275
go_1_8: Go 1.8 is EOL 2018-02-23 01:46:29 +08:00
Jörg Thalheim 394981c236 go_1_10: cleanup remove-test-pie.patch 2018-02-22 12:17:31 +00:00
Jörg Thalheim 37ef0b8ab6 go_1_10: add mic92 and velovix to maintainers
cc @velovix
2018-02-22 12:16:08 +00:00
Jörg Thalheim ee5602112e go_1_10: misc/cgo/errors/test.bash no longer exists 2018-02-22 12:07:50 +00:00
Jörg Thalheim 1a9316e47d go_1_10: init at 1.10 and set as default
Changes are minor from 1.9, so let's just set it as default straight.
2018-02-22 11:40:07 +00:00
adisbladis b144524ec8
go_1_7: Go 1.7 is EOL 2018-02-22 17:35:04 +08:00
adisbladis 804a21ea00
go_1_6: Go 1.6 is EOL 2018-02-22 17:34:22 +08:00
adisbladis 9ea5a00a4b
go: Remove unused patches 2018-02-22 17:33:11 +08:00
Will Dietz 6ae1bd4502 go: don't require glibc (.static), dunno if go works w/musl 2018-02-13 09:44:51 -06:00
adisbladis d424160b33
go_1_8: 1.8.5 -> 1.8.7 2018-02-11 03:33:13 +08:00
adisbladis cac2a6596c
go_1_9: 1.9.3 -> 1.9.4 2018-02-11 03:33:08 +08:00
Tuomas Tynkkynen a25e6e1d96 go_1_8: Scale up test timeouts
https://hydra.nixos.org/build/68539514
2018-02-03 16:01:17 +02:00
Tuomas Tynkkynen 8f0508ebc1 go: Scale up test timeouts
I can't reproduce the problem on an idle machine where it finishes in
112.954s, so let's hope this works.

https://hydra.nixos.org/build/68236758
2018-01-26 03:49:24 +02:00
adisbladis f7dd6951aa
go: 1.9.2 -> 1.9.3 2018-01-24 23:00:26 +08:00
Daiderd Jordan 5a02143c20
Merge pull request #33010 from LnL7/cacert-hook
cacert: add hook that sets SSL_CERT_FILE
2018-01-07 09:55:15 +01:00
Frederik Rietdijk 804285f589 Merge remote-tracking branch 'upstream/staging' into HEAD 2018-01-02 19:10:45 +01:00
John Ericson 046f091e0d treewide: Don't use envHook anymore
This commits needs a MAJOR audit as I oftentimes just guessed which of
`$hostOffset`, `$targetOffset`, or a fixed offset should be used.
2017-12-30 22:04:22 -05:00
Daiderd Jordan 091c2b9f04
cacert: cleanup exporting SSL_CERT_FILE 2017-12-27 21:36:32 +01:00
Ben Wolsieffer 23ffb9d701 go-1.8, go-1.9: use stdenv.shell instead of /usr/bin/env bash
Fixes tests on ARMv6/7 during sandboxed builds.
2017-12-23 20:20:08 -05:00
Orivej Desh 4a7a497fb6 go: add procps for sysctl in tests, print ulimits for debugging resource exhaustion 2017-12-02 12:19:14 +00:00
Orivej Desh 1161741351 Merge branch 'master' into staging
* master: (28 commits)
  go_1_9: skip flaky TestWaitGroupMisuse2
  erlangR18: fix patch hashes with fetchpatch
  xml2: replace dead links
  nixos/pam: fix docs about path to u2f_keys file
  cinelerra: add a note about parallel building
  msmtp: install docs and examples (#31769)
  kernel: Fix out-of-tree modules on aarch64
  nixos/tests/acme: update terms of service to fix test
  gixy: init at 0.1.8
  pythonPackages.ConfigArgParse: 0.9.3 -> 0.12.0, refactor, move to python-modules
  mono: init at 4.8
  wal-g: fix license so not to break evaluation
  wal-g: init at 0.1.2
  maintainers: add backuitist
  nixos/prometheus: Correct documentation for external_labels
  spidermonkey: replace broken links
  vagrant: removed custom rake gem
  vagrant: 2.0.0 -> 2.0.1
  nixos/prometheus: add external_labels option
  nixos/prometheus: add scrape_configs.honor_labels
  ...
2017-11-17 18:06:22 +00:00
Orivej Desh 73598e3787 go_1_9: skip flaky TestWaitGroupMisuse2
https://github.com/golang/go/issues/20072
https://hydra.nixos.org/build/64351217/nixlog/1
2017-11-17 18:05:30 +00:00