summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2017-10-25 22:43:36 -0400
committerLeo Famulari <leo@famulari.name>2017-10-26 12:14:33 -0400
commit552ee77250409de0bde2b75f60eb5ddd0f881045 (patch)
treea0ef76a98a83acc5191ac9224ee047ef177f2a3b /guix
parent0cbcab7254dd50bbf2f36712fa7450f1e105a0d1 (diff)
downloadgnu-guix-552ee77250409de0bde2b75f60eb5ddd0f881045.tar
gnu-guix-552ee77250409de0bde2b75f60eb5ddd0f881045.tar.gz
build-system/go: Fix installation path of executable files.
* guix/build/go-build-system.scm (setup-environment): Set GOBIN correctly.
Diffstat (limited to 'guix')
-rw-r--r--guix/build/go-build-system.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/build/go-build-system.scm b/guix/build/go-build-system.scm
index 72af6ce7b6..d175f3b76a 100644
--- a/guix/build/go-build-system.scm
+++ b/guix/build/go-build-system.scm
@@ -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)