manual: Document buildFlags of buildGoPackage

This commit is contained in:
Luca Bruno 2015-04-17 10:13:18 +02:00
parent 19a96c7c30
commit 18a6f52bc9

View File

@ -675,6 +675,7 @@ net = buildGoPackage rec {
"code.google.com/p/goprotobuf github.com/golang/protobuf"
];
propagatedBuildInputs = [ goPackages.text ]; <co xml:id='ex-buildGoPackage-4' />
buildFlags = "--tags release"; <co xml:id='ex-buildGoPackage-5' />
};
</programlisting>
</example>
@ -725,6 +726,12 @@ the following arguments are of special significance to the function:
</para>
</callout>
<callout arearefs='ex-buildGoPackage-5'>
<para>
<varname>buildFlags</varname> is a list of flags passed to the go build command.
</para>
</callout>
</calloutlist>
</para>