File tree Expand file tree Collapse file tree
nixos/doc/manual/release-notes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -128,8 +128,16 @@ services.mysql.initialScript = pkgs.writeText "mariadb-init.sql" ''
128128 <itemizedlist >
129129 <listitem >
130130 <para >
131- The go-modules builder now uses vendorSha256 instead of modSha256 to pin
132- fetched version data. This is currently a warning, but will be removed in the next release.
131+ <literal >buildGoModule</literal > now internally creates a vendor directory
132+ in the source tree for downloaded modules instead of using go's <link
133+ xlink : href =" https://golang.org/cmd/go/#hdr-Module_proxy_protocol" >module
134+ proxy protocol</link >. This storage format is simpler and therefore less
135+ likekly to break with future versions of go. As a result
136+ <literal >buildGoModule</literal > switched from
137+ <literal >modSha256</literal > to the <literal >vendorSha256</literal >
138+ attribute to pin fetched version data. <literal >buildGoModule</literal >
139+ still accepts <literal >modSha256</literal > with a warning, but support will
140+ be removed in the next release.
133141 </para >
134142 </listitem >
135143 <listitem >
You can’t perform that action at this time.
0 commit comments