guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Leo Famulari
Subject: 03/04: build-system/go: Fix installation path of executable files.
Date: Thu, 26 Oct 2017 12:14:57 -0400 (EDT)

lfam pushed a commit to branch master
in repository guix.

commit 552ee77250409de0bde2b75f60eb5ddd0f881045
Author: Leo Famulari <address@hidden>
Date:   Wed Oct 25 22:43:36 2017 -0400

    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 72af6ce..d175f3b 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]