nixpkgs/pkgs/development/compilers/go
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
..
1.14.nix go: enable MIPS GOARCH/cross integration 2021-07-21 00:43:16 +02:00
1.15.nix go: enable MIPS GOARCH/cross integration 2021-07-21 00:43:16 +02:00
1.16.nix go: enable MIPS GOARCH/cross integration 2021-07-21 00:43:16 +02:00
2-dev.nix go: cleanup 2021-06-05 09:58:51 +10:00
binary.nix go: add runHooks to bootstrap binary 2021-06-05 09:54:25 +10:00
bootstrap.nix go: use binary bootstrap for all platforms 2021-02-20 08:09:42 +10:00
creds-test.patch
go_no_vendor_checks-1_14.patch go: Introduce environment variable GO_NO_VENDOR_CHECKS to relax go vendor checks 2021-01-12 18:08:41 +01:00
go_no_vendor_checks-1.16.patch go_1_16: init at 1.16 2021-02-17 06:30:32 +10:00
go_no_vendor_checks.patch go: Introduce environment variable GO_NO_VENDOR_CHECKS to relax go vendor checks 2021-01-12 18:08:41 +01:00
go-1.9-skip-flaky-19608.patch
go-1.9-skip-flaky-20072.patch
print-hashes.sh go: use binary bootstrap for all platforms 2021-02-20 08:09:42 +10:00
remove-test-pie-1.14.patch
remove-test-pie-1.15.patch
remove-tools-1.11.patch
skip-cgo-tests-1.15.patch
skip-external-network-tests-1.15.patch
skip-external-network-tests-1.16.patch go_1_16: init at 1.16 2021-02-17 06:30:32 +10:00
skip-external-network-tests.patch
skip-nohup-tests.patch
skip-test-extra-files-on-386-1.14.patch
skip-test-extra-files-on-aarch32-1.14.patch
ssl-cert-file-1.13.patch
ssl-cert-file-1.15.patch
ssl-cert-file-1.16.patch go_1_16: init at 1.16 2021-02-17 06:30:32 +10:00
ssl-cert-file-2-dev.patch go_2-dev: 2020-12-08 -> 2021-03-22 2021-04-12 18:48:50 +10:00