Skip to content
Snippets Groups Projects
Unverified Commit 552ee772 authored by Leo Famulari's avatar Leo Famulari
Browse files

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

* guix/build/go-build-system.scm (setup-environment): Set GOBIN correctly.
parent 0cbcab72
No related branches found
No related tags found
No related merge requests found
...@@ -171,7 +171,7 @@ (define* (setup-environment #:key inputs outputs #:allow-other-keys) ...@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment