diff options
author | Yueh-Shun Li <shamrocklee@posteo.net> | 2023-05-25 22:49:03 +0800 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2023-05-28 07:50:02 +1000 |
commit | 48c59620485b184b132f911823ece6fa0108eb97 (patch) | |
tree | dd6417a0f7ce4551a35394df935e85f89a1ddf8d /doc/languages-frameworks/go.section.md | |
parent | c61487f98905d3d64bada32a80abb13bd061e5f5 (diff) |
doc/language-frameworks/go.section.md: fix spelling
Change "platform dependant" to "platform-dependent" The word "dependant" (with suffix -ant) is used as a noun in British English, while the adjetive is "dependent" (-ent). Both are "dependent" in American English. Reference: https://www.merriam-webster.com/words-at-play/spelling-variants-dependent-vs-dependant https://dictionary.cambridge.org/dictionary/english/dependant
Diffstat (limited to 'doc/languages-frameworks/go.section.md')
-rw-r--r-- | doc/languages-frameworks/go.section.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/languages-frameworks/go.section.md b/doc/languages-frameworks/go.section.md index c697a6908751a..cf1808414234c 100644 --- a/doc/languages-frameworks/go.section.md +++ b/doc/languages-frameworks/go.section.md @@ -19,7 +19,7 @@ In the following is an example expression using `buildGoModule`, the following a To avoid updating this field when dependencies change, run `go mod vendor` in your source repo and set `vendorHash = null;` To obtain the actual hash, set `vendorHash = lib.fakeSha256;` and run the build ([more details here](#sec-source-hashes)). -- `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. +- `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-dependent `vendorHash` checksums. - `modPostBuild`: Shell commands to run after the build of the go-modules executes `go mod vendor`, and before calculating fixed output derivation's `vendorHash` (or `vendorSha256`). Note that if you change this attribute, you need to update `vendorHash` (or `vendorSha256`) attribute. ```nix |