https://github.com/magefile/mage/issues/69
Mage calls go build via os/exec, explicitly passing through os.Environ to the subprocess. Somehow the cross compiled binary from my osx laptop is referencing the goroot from my laptop when it tries to run go build on a Linux machine. 1. How is this possible? 2. How can I fix it? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.