docs: update Go section after the addition of goSum attribute

This commit is contained in:
NotAShelf
2025-04-26 22:56:55 +03:00
parent f5d220cccd
commit 5761f0acc7
2 changed files with 10 additions and 0 deletions
+7
View File
@@ -188,6 +188,13 @@ Whether the build result should be allowed to contain references to the Go tool
Defaults to `false`
### `goSum` {#var-go-goSum}
Specifies the contents of the `go.sum` file and triggers rebuilds when it changes. This helps combat inconsistent dependency errors on `go.sum` changes.
Defaults to `null`
## Overriding `goModules` {#buildGoModule-goModules-override}
Overriding `<pkg>.goModules` by calling `goModules.overrideAttrs` is unsupported. Still, it is possible to override the `vendorHash` (`goModules`'s `outputHash`) and the `pre`/`post` hooks for both the build and patch phases of the primary and `goModules` derivation.
+3
View File
@@ -434,6 +434,9 @@
"var-meta-teams": [
"index.html#var-meta-teams"
],
"var-go-goSum": [
"index.html#var-go-goSum"
],
"variables-specifying-dependencies": [
"index.html#variables-specifying-dependencies"
],