From 2373f4c21ca92c04375be651b1fbff40e9223758 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 22 Jan 2025 15:05:39 +0100 Subject: [PATCH] rust-cbindgen: switch to useFetchCargoVendor The previous cargo vendor hash was invalidated by recent updates to the rust infrastructure. --- pkgs/development/tools/rust/cbindgen/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/rust/cbindgen/default.nix b/pkgs/development/tools/rust/cbindgen/default.nix index 6dc834822d4a6..b0210291e43ea 100644 --- a/pkgs/development/tools/rust/cbindgen/default.nix +++ b/pkgs/development/tools/rust/cbindgen/default.nix @@ -23,7 +23,8 @@ rustPlatform.buildRustPackage rec { hash = "sha256-1GT+EgltLhveEACxhY+748L1HIIyQHbEs7wLKANFWr0="; }; - cargoHash = "sha256-VaM2+az881qePMqkQRxVxoXCgrgPC8LqSQNDst1bnkY="; + useFetchCargoVendor = true; + cargoHash = "sha256-k8n3adoqKp/RXkHybCKV2KlVnaoEhM6vF57BqeCDAP4="; buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;