diff options
author | Christian Zagrodnick <cz@flyingcircus.io> | 2017-06-27 16:34:03 +0200 |
---|---|---|
committer | Christian Zagrodnick <cz@flyingcircus.io> | 2017-06-27 16:34:03 +0200 |
commit | 725d25dbb30e8021743ea654742ad5ff13e038bd (patch) | |
tree | b063fe302067a193ceba3bf94970623069065c03 /doc/languages-frameworks/go.xml | |
parent | 798e256dcd195addcf6babf8bdcd0c2579337ceb (diff) |
doc / go building: improve
Move the paragraph about go2nix to the other paragraphs about dependencies.
Diffstat (limited to 'doc/languages-frameworks/go.xml')
-rw-r--r-- | doc/languages-frameworks/go.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/languages-frameworks/go.xml b/doc/languages-frameworks/go.xml index 026acb4e8fb9..54ea60c90212 100644 --- a/doc/languages-frameworks/go.xml +++ b/doc/languages-frameworks/go.xml @@ -13,7 +13,7 @@ standard Go programs. deis = buildGoPackage rec { name = "deis-${version}"; version = "1.13.0"; - + goPackagePath = "github.com/deis/deis"; <co xml:id='ex-buildGoPackage-1' /> subPackages = [ "client" ]; <co xml:id='ex-buildGoPackage-2' /> @@ -130,6 +130,9 @@ the following arguments are of special significance to the function: </para> +<para>To extract dependency information from a Go package in automated way use <link xlink:href="https://github.com/kamilchm/go2nix">go2nix</link>. + It can produce complete derivation and <varname>goDeps</varname> file for Go programs.</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: @@ -160,7 +163,4 @@ done </screen> </para> -<para>To extract dependency information from a Go package in automated way use <link xlink:href="https://github.com/kamilchm/go2nix">go2nix</link>. - It can produce complete derivation and <varname>goDeps</varname> file for Go programs.</para> </section> - |