Skip to content

Commit 834ef12

Browse files
committed
release-notes: document buildGoModule changes better.
1 parent f26e514 commit 834ef12

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

nixos/doc/manual/release-notes/rl-2009.xml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff 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>

0 commit comments

Comments
 (0)