about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorKamil Chmielewski <kamil.chm@gmail.com>2016-06-11 18:53:30 +0200
committerKamil Chmielewski <kamil.chm@gmail.com>2016-06-11 18:57:29 +0200
commit7d02cc1dd50766058b2ec2c6d3a741d96db5d27b (patch)
treee9664184a62f47b4fbcc73f2982fa0295c998897 /doc
parentbeb4182cc8a7072d9c331643c7e2a6d81767b654 (diff)
all-packages references to Go packages includes all outputs
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/go.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/languages-frameworks/go.xml b/doc/languages-frameworks/go.xml
index 520c338b9a87a..7365f5abe681f 100644
--- a/doc/languages-frameworks/go.xml
+++ b/doc/languages-frameworks/go.xml
@@ -141,6 +141,25 @@ the following arguments are of special significance to the function:
 </para>
 
 <para>
+  <varname>buildGoPackage</varname> produces <xref linkend='chap-multiple-output' xrefstyle="select: title" />
+  where <varname>bin</varname> includes program binaries. You can test build a Go binary as follows:
+
+  <screen>
+    $ nix-build -A deis.bin
+  </screen>
+
+  or build all outputs with:
+
+  <screen>
+    $ nix-build -A deis.all
+  </screen>
+
+  <varname>bin</varname> output will be installed by default with <varname>nix-env -i</varname>
+  or <varname>systemPackages</varname>.
+
+</para>
+
+<para>
 You may use Go packages installed into the active Nix profiles by adding
 the following to your ~/.bashrc: