about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2020-05-21 17:40:09 +0100
committerGitHub <noreply@github.com>2020-05-21 17:40:09 +0100
commit062d950c5e61db596d8bb3dc7a12f2856e372690 (patch)
tree50b9ff5b035bb6e01d226506904a554391fcd0b1 /nixos
parentfa186cd82c387f61c9ae77194660f5620ab39afd (diff)
parent834ef12d4f5877aa16d14f7ec4629eeb9cad41f3 (diff)
downloadnixlib-062d950c5e61db596d8bb3dc7a12f2856e372690.tar
nixlib-062d950c5e61db596d8bb3dc7a12f2856e372690.tar.gz
nixlib-062d950c5e61db596d8bb3dc7a12f2856e372690.tar.bz2
nixlib-062d950c5e61db596d8bb3dc7a12f2856e372690.tar.lz
nixlib-062d950c5e61db596d8bb3dc7a12f2856e372690.tar.xz
nixlib-062d950c5e61db596d8bb3dc7a12f2856e372690.tar.zst
nixlib-062d950c5e61db596d8bb3dc7a12f2856e372690.zip
Merge pull request #88258 from NixOS/go-module
Diffstat (limited to 'nixos')
-rw-r--r--nixos/doc/manual/release-notes/rl-2009.xml12
1 files changed, 10 insertions, 2 deletions
diff --git a/nixos/doc/manual/release-notes/rl-2009.xml b/nixos/doc/manual/release-notes/rl-2009.xml
index d12a55b82fd3..8701b395576b 100644
--- a/nixos/doc/manual/release-notes/rl-2009.xml
+++ b/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>modSha256</literal> to the <literal>vendorSha256</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>