mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 11:02:05 +00:00
c00d507f97
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. |
||
---|---|---|
.. | ||
1.14.nix | ||
1.15.nix | ||
1.16.nix | ||
2-dev.nix | ||
binary.nix | ||
bootstrap.nix | ||
creds-test.patch | ||
go-1.9-skip-flaky-19608.patch | ||
go-1.9-skip-flaky-20072.patch | ||
go_no_vendor_checks-1.16.patch | ||
go_no_vendor_checks-1_14.patch | ||
go_no_vendor_checks.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 |