mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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