Commit Graph

28 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Will Dietz
6ae1bd4502 go: don't require glibc (.static), dunno if go works w/musl 2018-02-13 09:44:51 -06:00
adisbladis
cac2a6596c
go_1_9: 1.9.3 -> 1.9.4 2018-02-11 03:33:08 +08: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
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
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
Orivej Desh
3ac474aee6 go_1_9: skip flaky TestServerCancelsReadTimeoutWhenIdle
https://github.com/golang/go/issues/19608
https://hydra.nixos.org/build/64329767/nixlog/1
https://hydra.nixos.org/build/64244716/nixlog/1

Remove the patch for https://github.com/golang/go/issues/21559 because it is
skipped as flaky since Go 1.9.2.
2017-11-17 05:28:22 +00:00
adisbladis
df04f0cb63
go: 1.9.1 -> 1.9.2 2017-10-26 18:28:08 +08:00
Yann Hodique
ca685bb9a5 go: 1.9 -> 1.9.1 2017-10-04 14:44:34 -07:00
Orivej Desh
8d4b0eefce go: declare support for aarch64 2017-10-01 21:33:28 +00:00
Orivej Desh
589574e5c9 go: fix tests and impurity 2017-09-28 10:21:17 +00:00
Daiderd Jordan
57ef1a3564
go: fix darwin build 2017-09-06 19:45:10 +02:00
Charles Strahan
3189b01647
go: init 1.9 (and set as default) 2017-09-05 16:44:13 -04:00