Commit Graph

12 Commits

Author SHA1 Message Date
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
Elliot Cameron
08ab7e10f3 go_2-dev: 2021-03-22 -> 2021-04-13 2021-05-17 06:15:35 +10:00
Roman Volosatovs
7f35119b94 go_2-dev: 2020-12-08 -> 2021-03-22 2021-04-12 18:48:50 +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
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
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
Ben Siraphob
acc5f7b18a pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07: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
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