From f6ee8a0bdcace1518c86fcb3b5ad76b167e95ef1 Mon Sep 17 00:00:00 2001 From: aleksana Date: Wed, 3 Jul 2024 21:24:07 +0800 Subject: [PATCH] nixos/doc/rl-2411: mention cargoSha256 deprecation --- nixos/doc/manual/release-notes/rl-2411.section.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nixos/doc/manual/release-notes/rl-2411.section.md b/nixos/doc/manual/release-notes/rl-2411.section.md index 92945ae414bb8..64dfc008944ec 100644 --- a/nixos/doc/manual/release-notes/rl-2411.section.md +++ b/nixos/doc/manual/release-notes/rl-2411.section.md @@ -176,6 +176,11 @@ - The `stackclashprotection` hardening flag has been added, though disabled by default. +- `cargoSha256` in `rustPlatform.buildRustPackage` has been deprecated in favor + of `cargoHash` which supports SRI hashes. See + [buildRustPackage: Compiling Rust applications with Cargo](https://nixos.org/manual/nixpkgs/unstable/#compiling-rust-applications-with-cargo) + for more information. + - `hareHook` has been added as the language framework for Hare. From now on, it, not the `hare` package, should be added to `nativeBuildInputs` when building Hare programs.