summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorzowoq <59103226+zowoq@users.noreply.github.com>2021-12-31 22:41:54 +1000
committerzowoq <59103226+zowoq@users.noreply.github.com>2022-01-06 14:00:58 +1000
commit8a8c88de70bd7f967cb20ad07583ea9ef12a4a94 (patch)
tree2c7118b0c4ff8330486a3e14cccb2f94271cf664 /doc
parent1fe22e19782dabfce0e26d7d6d8e7c4e3b42f739 (diff)
downloadnixpkgs-8a8c88de70bd7f967cb20ad07583ea9ef12a4a94.tar
nixpkgs-8a8c88de70bd7f967cb20ad07583ea9ef12a4a94.tar.gz
nixpkgs-8a8c88de70bd7f967cb20ad07583ea9ef12a4a94.tar.bz2
nixpkgs-8a8c88de70bd7f967cb20ad07583ea9ef12a4a94.tar.lz
nixpkgs-8a8c88de70bd7f967cb20ad07583ea9ef12a4a94.tar.xz
nixpkgs-8a8c88de70bd7f967cb20ad07583ea9ef12a4a94.tar.zst
nixpkgs-8a8c88de70bd7f967cb20ad07583ea9ef12a4a94.zip
buildGoModule: use `proxyVendor` instead of `runVend`
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/go.section.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/languages-frameworks/go.section.md b/doc/languages-frameworks/go.section.md
index 5f1838cd6fc..411205d08e4 100644
--- a/doc/languages-frameworks/go.section.md
+++ b/doc/languages-frameworks/go.section.md
@@ -12,8 +12,7 @@ The function `buildGoModule` builds Go programs managed with Go modules. It buil
 In the following is an example expression using `buildGoModule`, the following arguments are of special significance to the function:
 
 - `vendorSha256`: is the hash of the output of the intermediate fetcher derivation. `vendorSha256` can also take `null` as an input. 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, run `go mod vendor` in your source repo and set `vendorSha256 = null;`
-- `runVend`: 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.
-- `proxyVendor`: Fetches (go mod download) and proxies the vendor directory. This is useful if any dependency has case-insensitive conflicts which will produce platform dependant `vendorSha256` checksums.
+- `proxyVendor`: Fetches (go mod download) and proxies 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 or if any dependency has case-insensitive conflicts which will produce platform dependant `vendorSha256` checksums.
 
 ```nix
 pet = buildGoModule rec {