diff --git a/doc/languages-frameworks/go.xml b/doc/languages-frameworks/go.xml
index 70c135555ea4..ff39276f640e 100644
--- a/doc/languages-frameworks/go.xml
+++ b/doc/languages-frameworks/go.xml
@@ -36,7 +36,7 @@ pet = buildGoModule rec {
sha256 = "0m2fzpqxk7hrbxsgqplkg7h2p7gv6s1miymv3gvw0cz039skag0s";
};
- modSha256 = "1879j77k96684wi554rkjxydrj8g3hpp0kvxz03sd8dmwr3lh83j";
+ vendorSha256 = "1879j77k96684wi554rkjxydrj8g3hpp0kvxz03sd8dmwr3lh83j";
subPackages = [ "." ];
@@ -56,7 +56,7 @@ pet = buildGoModule rec {
- modSha256 is the hash of the output of the intermediate fetcher derivation.
+ vendorSha256 is the hash of the output of the intermediate fetcher derivation.
@@ -68,12 +68,12 @@ pet = buildGoModule rec {
- modSha256 can also take null as an input.
+ vendorSha256 can also take null as an input.
- When `null` is used as a value, the derivation won't be a
- fixed-output derivation but disable the build sandbox instead. This can be useful outside
- of nixpkgs where re-generating the modSha256 on each mod.sum changes is cumbersome,
- but will fail to build by Hydra, as builds with a disabled sandbox are discouraged.
+ 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;'
diff --git a/nixos/doc/manual/release-notes/rl-2009.xml b/nixos/doc/manual/release-notes/rl-2009.xml
index 5b1d04e4bc16..315a2eaeacb6 100644
--- a/nixos/doc/manual/release-notes/rl-2009.xml
+++ b/nixos/doc/manual/release-notes/rl-2009.xml
@@ -98,6 +98,13 @@
+
+
+ The go-modules builder now uses vendorSha256 instead of modSha256 to pin
+ fetched version data. This is currently a warning, but will be removed in the next release.
+
+
+
Grafana is now built without support for phantomjs by default. Phantomjs support has been