all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Go not setting $GOPATH by default
@ 2016-09-28 14:18 swedebugia
  2016-09-29 11:34 ` 宋文武
  0 siblings, 1 reply; 2+ messages in thread
From: swedebugia @ 2016-09-28 14:18 UTC (permalink / raw)
  To: guix-devel

Hi

I have just installed go and it seems that it does not set a gopath by 
default.

This leads to errors when trying to use go get, e.g.:

sdb@unknown ~$ go get github.com/syncthing/syncthing
package github.com/syncthing/syncthing: cannot download, $GOPATH not 
set. For more details see: go help gopath

I propose that we set the gopath by default to "~/go" and create that 
directory by default, what do you think?

cheers
sdb

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Go not setting $GOPATH by default
  2016-09-28 14:18 Go not setting $GOPATH by default swedebugia
@ 2016-09-29 11:34 ` 宋文武
  0 siblings, 0 replies; 2+ messages in thread
From: 宋文武 @ 2016-09-29 11:34 UTC (permalink / raw)
  To: swedebugia; +Cc: guix-devel

swedebugia@riseup.net writes:

> Hi
>
> I have just installed go and it seems that it does not set a gopath by
> default.
>
> This leads to errors when trying to use go get, e.g.:
>
> sdb@unknown ~$ go get github.com/syncthing/syncthing
> package github.com/syncthing/syncthing: cannot download, $GOPATH not
> set. For more details see: go help gopath
>
> I propose that we set the gopath by default to "~/go" and create that
> directory by default, what do you think?

I think it's a good thing for user to set GOPATH his own, knowing where
the `go get' download into.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-29 11:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-28 14:18 Go not setting $GOPATH by default swedebugia
2016-09-29 11:34 ` 宋文武

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.