aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/doc/languages-frameworks/go.xml
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/doc/languages-frameworks/go.xml')
-rw-r--r--nixpkgs/doc/languages-frameworks/go.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/nixpkgs/doc/languages-frameworks/go.xml b/nixpkgs/doc/languages-frameworks/go.xml
index ff39276f640..eee4706e551 100644
--- a/nixpkgs/doc/languages-frameworks/go.xml
+++ b/nixpkgs/doc/languages-frameworks/go.xml
@@ -40,6 +40,8 @@ pet = buildGoModule rec {
subPackages = [ "." ]; <co xml:id='ex-buildGoModule-2' />
+ runVend = true; <co xml:id='ex-buildGoModule-3' />
+
meta = with lib; {
description = "Simple command-line snippet manager, written in Go";
homepage = "https://github.com/knqyf263/pet";
@@ -64,6 +66,11 @@ pet = buildGoModule rec {
<varname>subPackages</varname> limits the builder from building child packages that have not been listed. If <varname>subPackages</varname> is not specified, all child packages will be built.
</para>
</callout>
+ <callout arearefs='ex-buildGoModule-3'>
+ <para>
+ <varname>runVend</varname> runs the vend command to generate the vendor directory. This is useful if your code depends on c code and go mod tidy does not include the needed sources to build.
+ </para>
+ </callout>
</calloutlist>
</para>
@@ -72,7 +79,7 @@ pet = buildGoModule rec {
When `null` is used as a value, rather than fetching the dependencies
and vendoring them, we use the vendoring included within the source repo.
- If you'd like to not have to update this field on dependency changes,
+ If you'd like to not have to update this field on dependency changes,
run `go mod vendor` in your source repo and set 'vendorSha256 = null;'
</para>
</section>