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:
parent
0cbcab7254
commit
552ee77250
|
@ -171,7 +171,7 @@ (define* (setup-environment #:key inputs outputs #:allow-other-keys)
|
||||||
(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)
|
||||||
|
|
Loading…
Reference in a new issue