Skip to content
Permalink
Browse files

release-notes: document buildGoModule changes better.

  • Loading branch information
Mic92 committed May 20, 2020
1 parent f26e514 commit a4096f57b30162450468803322a98ad4b678efd3
Showing with 10 additions and 2 deletions.
  1. +10 −2 nixos/doc/manual/release-notes/rl-2009.xml
@@ -128,8 +128,16 @@ services.mysql.initialScript = pkgs.writeText "mariadb-init.sql" ''
<itemizedlist>
<listitem>
<para>
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.
<literal>buildGoModule</literal> now internally creates a vendor directory
in the source tree for downloaded modules instead of using go's <link
xlink:href="https://golang.org/cmd/go/#hdr-Module_proxy_protocol">module
proxy protocol</link>. This storage format is simpler and therefore less
likekly to break with future versions of go. As a result
<literal>buildGoModule</literal> switched from
<literal>vendorSha256</literal> to the <literal>modSha256</literal>
attribute to pin fetched version data. <literal>buildGoModule</literal>
still accepts <literal>modSha256</literal> with a warning, but support will
be removed in the next release.
</para>
</listitem>
<listitem>

0 comments on commit a4096f5

Please sign in to comment.
You can’t perform that action at this time.