Merge pull request #26906 from zagy/fix/doc-gobuild-dependency-note
doc / go building: improve
This commit is contained in:
commit
4962de02a6
@ -130,6 +130,9 @@ the following arguments are of special significance to the function:
|
|||||||
|
|
||||||
</para>
|
</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>
|
<para>
|
||||||
<varname>buildGoPackage</varname> produces <xref linkend='chap-multiple-output' xrefstyle="select: title" />
|
<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:
|
where <varname>bin</varname> includes program binaries. You can test build a Go binary as follows:
|
||||||
@ -160,7 +163,4 @@ done
|
|||||||
</screen>
|
</screen>
|
||||||
</para>
|
</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>
|
</section>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user