build-system/go: Fix installation path of executable files.
* guix/build/go-build-system.scm (setup-environment): Set GOBIN correctly.master
parent
0cbcab7254
commit
552ee77250
|
@ -171,7 +171,7 @@ respectively."
|
||||||
(setenv "GOPATH" (string-append (getcwd) ":" (getenv "GOPATH")))
|
(setenv "GOPATH" (string-append (getcwd) ":" (getenv "GOPATH")))
|
||||||
(setenv "GOPATH" (getcwd)))
|
(setenv "GOPATH" (getcwd)))
|
||||||
;; Where to install compiled executable files ('commands' in Go parlance').
|
;; Where to install compiled executable files ('commands' in Go parlance').
|
||||||
(setenv "GOBIN" out)
|
(setenv "GOBIN" (string-append out "/bin"))
|
||||||
#t))
|
#t))
|
||||||
|
|
||||||
(define* (build #:key import-path #:allow-other-keys)
|
(define* (build #:key import-path #:allow-other-keys)
|
||||||
|
|
Reference in New Issue