clickhouse: fetchCargoTarball -> fetchCargoVendor (#377009)

This commit is contained in:
Nick Cao
2025-01-27 15:25:52 -05:00
committed by GitHub
+4 -4
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;