summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorzowoq <59103226+zowoq@users.noreply.github.com>2021-07-25 19:33:20 +1000
committerzowoq <59103226+zowoq@users.noreply.github.com>2021-08-06 09:10:09 +1000
commita4461b97c6b3b4b7241dd0e3f44263afd350be76 (patch)
tree93ab1258af858d6882bb339d3d5d743211cda251 /doc
parentb60dde0c1eadd1e62a5e26adb4c4b6c4e03050d2 (diff)
buildGoModule: add proxyVendor
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/go.section.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/languages-frameworks/go.section.md b/doc/languages-frameworks/go.section.md
index 8bcbbd323e36..45d85f1f99ec 100644
--- a/doc/languages-frameworks/go.section.md
+++ b/doc/languages-frameworks/go.section.md
@@ -13,6 +13,7 @@ In the following is an example expression using `buildGoModule`, the following a
- `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.
```nix
pet = buildGoModule rec {