summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2019-06-10 10:56:33 +0200
committerGitHub <noreply@github.com>2019-06-10 10:56:33 +0200
commit338a6e3f388fea6f2e9321fda0280a749734643a (patch)
tree3aa3465ade93bf62cb75632846111f38f9c39174
parent80b51d983ae77f47910ba26305023efbfdb62e91 (diff)
parentb5b5648be8f2ddd8e50ed5c9809f35650e311523 (diff)
Merge pull request #62935 from danieldk/cargo-vendor-change-doc
nixos/release-notes: document changed CargoSha256 hashes
-rw-r--r--nixos/doc/manual/release-notes/rl-1909.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/nixos/doc/manual/release-notes/rl-1909.xml b/nixos/doc/manual/release-notes/rl-1909.xml
index 951040a0648f..c0de8b4d2fd3 100644
--- a/nixos/doc/manual/release-notes/rl-1909.xml
+++ b/nixos/doc/manual/release-notes/rl-1909.xml
@@ -211,6 +211,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>