From 9c43f432eb166bc9a3d1e4e74d68771cea33c6e4 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Wed, 25 Oct 2017 22:58:18 -0400 Subject: doc: Document the installation of Go source code. * doc/guix.texi (Build Systems): Document '#:install-source?' for the Go build system. --- doc/guix.texi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index 94cba0e1da..e4ba15cd2e 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -3592,6 +3592,11 @@ package source code's remote URI and filesystem hierarchy structure. In some cases, you will need to unpack the package's source code to a different directory structure than the one indicated by the import path, and @code{#:unpack-path} should be used in such cases. + +Packages that provide Go libraries should be installed along with their +source code. The key @code{#:install-source?}, which defaults to +@code{#t}, controls whether or not the source code is installed. It can +be set to @code{#f} for packages that only provide executable files. @end defvr @defvr {Scheme Variable} glib-or-gtk-build-system -- cgit v1.2.3