hmm... I really don't want people to have to build Mage, since mage is a 
build tool.  Would it be horrible to just run go env GOROOT and use that to 
set GOROOT in the environs for the command that runs go build?


On Sunday, October 15, 2017 at 5:36:43 PM UTC-4, Dave Cheney wrote:
>
> My guess is that GOROOT is not set in the target environment so the value 
> eventually collapses back on the GOROOT compiled into mage from the value 
> compiled into the toolchain that built mage. 
>
> gb has the same problem, I didn’t want to encourage people to set GOROOT, 
> but if they don’t, there is no way to find the right tool chain. 
>
> I gave up and stoped distributing binary images, which 1/2 solved the 
> problem. 

-- 
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.

Reply via email to