summary refs log tree commit diff
path: root/doc/languages-frameworks/go.section.md
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/languages-frameworks/go.section.md
parentb60dde0c1eadd1e62a5e26adb4c4b6c4e03050d2 (diff)
downloadnixpkgs-a4461b97c6b3b4b7241dd0e3f44263afd350be76.tar
nixpkgs-a4461b97c6b3b4b7241dd0e3f44263afd350be76.tar.gz
nixpkgs-a4461b97c6b3b4b7241dd0e3f44263afd350be76.tar.bz2
nixpkgs-a4461b97c6b3b4b7241dd0e3f44263afd350be76.tar.lz
nixpkgs-a4461b97c6b3b4b7241dd0e3f44263afd350be76.tar.xz
nixpkgs-a4461b97c6b3b4b7241dd0e3f44263afd350be76.tar.zst
nixpkgs-a4461b97c6b3b4b7241dd0e3f44263afd350be76.zip
buildGoModule: add proxyVendor
Diffstat (limited to 'doc/languages-frameworks/go.section.md')
-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 8bcbbd323e3..45d85f1f99e 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 {