nixos/release-notes: document changed CargoSha256 hashes

cargoSha256 hashes change as result of changes in cargo-vendor, as
discussed in #60668.
This commit is contained in:
Daniël de Kok 2019-06-10 08:42:19 +02:00
parent b8bf4e406b
commit b5b5648be8

View File

@ -206,6 +206,24 @@
RuntimeDirectory and tmpfiles.
</para>
</listitem>
<listitem>
<para>
Since version 0.1.19, <literal>cargo-vendor</literal> honors package
includes that are specified in the <filename>Cargo.toml</filename>
file of Rust crates. <literal>rustPlatform.buildRustPackage</literal> uses
<literal>cargo-vendor</literal> to collect and build dependent crates.
Since this change in <literal>cargo-vendor</literal> changes the set of
vendored files for most Rust packages, the hash that use used to verify
the dependencies, <literal>cargoSha256</literal>, also changes.
</para>
<para>
The <literal>cargoSha256</literal> hashes of all in-tree derivations that
use <literal>buildRustPackage</literal> have been updated to reflect this
change. However, third-party derivations that use
<literal>buildRustPackage</literal> may have to be updated as well.
</para>
</listitem>
</itemizedlist>
</section>
</section>