summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2018-11-11 22:03:08 +0100
committerPierre Neidhardt <mail@ambrevar.xyz>2018-11-12 10:28:46 +0100
commit0fd115d536d59e5160329546f09943c278b15cdb (patch)
tree07cb758f3faa3ddffd504d0610cf06283695227b
parent9a65a052016572b61e3c4247fcdf9e0478656f71 (diff)
build-system/go: Plan removal of the pkg folder for go-1.11 onward.
* guix/build/go-build-system.scm (install): New comment.
-rw-r--r--guix/build/go-build-system.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/guix/build/go-build-system.scm b/guix/build/go-build-system.scm
index 6be0167063..022d4fe16b 100644
--- a/guix/build/go-build-system.scm
+++ b/guix/build/go-build-system.scm
@@ -204,6 +204,9 @@ respectively."
$GOPATH/pkg, so we have to copy them into the output directory manually.
Compiled executable files should have already been installed to the store based
on $GOBIN in the build phase."
+ ;; TODO: From go-1.10 onward, the pkg folder should not be needed (see
+ ;; https://lists.gnu.org/archive/html/guix-devel/2018-11/msg00208.html).
+ ;; Remove it?
(when (file-exists? "pkg")
(copy-recursively "pkg" (string-append (assoc-ref outputs "out") "/pkg")))
#t)