about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2022-08-02 00:02:24 +0000
committerGitHub <noreply@github.com>2022-08-02 00:02:24 +0000
commitad090ff8671dcb957c0bafef4eba9d527d90d957 (patch)
tree2d1b64202a8cb63df5878e3c3a304380f33c0e2e /doc
parent357ae167e2374454a5463222ab60782114b59148 (diff)
parentec9cb32147fbd46a4082cb119d274a0990caa390 (diff)
downloadnixlib-ad090ff8671dcb957c0bafef4eba9d527d90d957.tar
nixlib-ad090ff8671dcb957c0bafef4eba9d527d90d957.tar.gz
nixlib-ad090ff8671dcb957c0bafef4eba9d527d90d957.tar.bz2
nixlib-ad090ff8671dcb957c0bafef4eba9d527d90d957.tar.lz
nixlib-ad090ff8671dcb957c0bafef4eba9d527d90d957.tar.xz
nixlib-ad090ff8671dcb957c0bafef4eba9d527d90d957.tar.zst
nixlib-ad090ff8671dcb957c0bafef4eba9d527d90d957.zip
Merge master into staging-next
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/go.section.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/languages-frameworks/go.section.md b/doc/languages-frameworks/go.section.md
index 9c67a514335e..8616d64e7c4e 100644
--- a/doc/languages-frameworks/go.section.md
+++ b/doc/languages-frameworks/go.section.md
@@ -11,8 +11,8 @@ 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;`
-- `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.
+- `vendorHash`: is the hash of the output of the intermediate fetcher derivation. `vendorHash` 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 `vendorHash = null;`
+- `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 `vendorHash` checksums.
 
 ```nix
 pet = buildGoModule rec {
@@ -26,7 +26,7 @@ pet = buildGoModule rec {
     sha256 = "0m2fzpqxk7hrbxsgqplkg7h2p7gv6s1miymv3gvw0cz039skag0s";
   };
 
-  vendorSha256 = "1879j77k96684wi554rkjxydrj8g3hpp0kvxz03sd8dmwr3lh83j";
+  vendorHash = "sha256-ciBIR+a1oaYH+H1PcC8cD8ncfJczk1IiJ8iYNM+R6aA=";
 
   meta = with lib; {
     description = "Simple command-line snippet manager, written in Go";