diff options
| author | Serge Bazanski <q3k@q3k.org> | 2021-07-20 23:39:32 +0200 |
|---|---|---|
| committer | Serge Bazanski <q3k@q3k.org> | 2021-07-21 00:43:16 +0200 |
| commit | c00d507f97fb4e4aa121d3df288a56c9a2c9585d (patch) | |
| tree | fcddd2a6e95a63b8cd7a04d13b05cd62d5ea4ccc /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 8472d44b82084f8b638b0dca248fae61b9bd1bad (diff) | |
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.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
