Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5740c9e0e192
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4962de02a6f9
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jun 27, 2017

  1. doc / go building: improve

    Move the paragraph about go2nix to the other paragraphs about dependencies.
    zagy committed Jun 27, 2017
    Copy the full SHA
    725d25d View commit details
  2. Merge pull request #26906 from zagy/fix/doc-gobuild-dependency-note

    doc / go building: improve
    Mic92 authored Jun 27, 2017
    Copy the full SHA
    4962de0 View commit details
Showing with 4 additions and 4 deletions.
  1. +4 −4 doc/languages-frameworks/go.xml
8 changes: 4 additions & 4 deletions doc/languages-frameworks/go.xml
Original file line number Diff line number Diff line change
@@ -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>