clickhouse: fetchCargoTarball -> fetchCargoVendor

Cargo 1.84.0 seems to have changed the output format of cargo vendor
again, once again invalidating fetchCargoTarball FOD hashes.  It's
time to fix this once and for all, switching across the board to
fetchCargoVendor, which is not dependent on cargo vendor's output
format.
This commit is contained in:
Alyssa Ross 2025-01-26 16:33:19 +01:00
parent 38eed288bf
commit f3e2270660
No known key found for this signature in database
GPG Key ID: 5B459184230FF0A2

View File

@ -120,21 +120,21 @@ mkDerivation rec {
null;
corrosionDeps =
if rustSupport then
rustPlatform.fetchCargoTarball {
rustPlatform.fetchCargoVendor {
src = corrosionSrc;
name = "corrosion-deps";
preBuild = "cd generator";
hash = "sha256-dhUgpwSjE9NZ2mCkhGiydI51LIOClA5wwk1O3mnnbM8=";
hash = "sha256-ok1QLobiGBccmbEEWQxHz3ivvuT6FrOgG6wLK4gIbgU=";
}
else
null;
rustDeps =
if rustSupport then
rustPlatform.fetchCargoTarball {
rustPlatform.fetchCargoVendor {
inherit src;
name = "rust-deps";
preBuild = "cd rust";
hash = "sha256-rbEfCRB2QAZ2WBgSLYYUqeYtI4Y5d9oQ2G8/mPirIp4=";
hash = "sha256-nX5wBM8rVMbaf/IrPsqkdT2KQklQbBIGomeWSTjclR4=";
}
else
null;