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
creds-test.patch
go_no_vendor_checks-1_14.patch
go_no_vendor_checks-1.16.patch
go_no_vendor_checks.patch
go-1.9-skip-flaky-19608.patch
go-1.9-skip-flaky-20072.patch
print-hashes.sh
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
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
ssl-cert-file-2-dev.patch