From b5b5648be8f2ddd8e50ed5c9809f35650e311523 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20de=20Kok?= Date: Mon, 10 Jun 2019 08:42:19 +0200 Subject: [PATCH] nixos/release-notes: document changed CargoSha256 hashes cargoSha256 hashes change as result of changes in cargo-vendor, as discussed in #60668. --- nixos/doc/manual/release-notes/rl-1909.xml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/nixos/doc/manual/release-notes/rl-1909.xml b/nixos/doc/manual/release-notes/rl-1909.xml index cf3309a8f4e5..bbedc0cc72a8 100644 --- a/nixos/doc/manual/release-notes/rl-1909.xml +++ b/nixos/doc/manual/release-notes/rl-1909.xml @@ -206,6 +206,24 @@ RuntimeDirectory and tmpfiles. + + + Since version 0.1.19, cargo-vendor honors package + includes that are specified in the Cargo.toml + file of Rust crates. rustPlatform.buildRustPackage uses + cargo-vendor to collect and build dependent crates. + Since this change in cargo-vendor changes the set of + vendored files for most Rust packages, the hash that use used to verify + the dependencies, cargoSha256, also changes. + + + + The cargoSha256 hashes of all in-tree derivations that + use buildRustPackage have been updated to reflect this + change. However, third-party derivations that use + buildRustPackage may have to be updated as well. + +