From 834ef12d4f5877aa16d14f7ec4629eeb9cad41f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 20 May 2020 09:14:06 +0100 Subject: [PATCH] release-notes: document buildGoModule changes better. --- nixos/doc/manual/release-notes/rl-2009.xml | 12 ++++++++++-- 1 file 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" '' - 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. + buildGoModule now internally creates a vendor directory + in the source tree for downloaded modules instead of using go's module + proxy protocol. This storage format is simpler and therefore less + likekly to break with future versions of go. As a result + buildGoModule switched from + modSha256 to the vendorSha256 + attribute to pin fetched version data. buildGoModule + still accepts modSha256 with a warning, but support will + be removed in the next release.