From 552ee77250409de0bde2b75f60eb5ddd0f881045 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Wed, 25 Oct 2017 22:43:36 -0400 Subject: [PATCH] build-system/go: Fix installation path of executable files. * guix/build/go-build-system.scm (setup-environment): Set GOBIN correctly. --- guix/build/go-build-system.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)