3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #62935 from danieldk/cargo-vendor-change-doc

nixos/release-notes: document changed CargoSha256 hashes
This commit is contained in:
Maximilian Bosch 2019-06-10 10:56:33 +02:00 committed by GitHub
commit 338a6e3f38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -211,6 +211,24 @@
RuntimeDirectory and tmpfiles. RuntimeDirectory and tmpfiles.
</para> </para>
</listitem> </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> </itemizedlist>
</section> </section>
</section> </section>