build-system/go: Fix installation path of executable files.

* guix/build/go-build-system.scm (setup-environment): Set GOBIN correctly.
This commit is contained in:
Leo Famulari 2017-10-25 22:43:36 -04:00
parent 0cbcab7254
commit 552ee77250
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ respectively."
(setenv "GOPATH" (string-append (getcwd) ":" (getenv "GOPATH")))
(setenv "GOPATH" (getcwd)))
;; Where to install compiled executable files ('commands' in Go parlance').
(setenv "GOBIN" out)
(setenv "GOBIN" (string-append out "/bin"))
#t))
(define* (build #:key import-path #:allow-other-keys)