garage: useFetchCargoVendor

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.

+4 -3
+4 -3
pkgs/tools/filesystems/garage/default.nix
··· 38 rm .cargo/config.toml || true 39 ''; 40 41 inherit cargoHash cargoPatches; 42 43 nativeBuildInputs = [ ··· 119 garage_0_8_7 = generic { 120 version = "0.8.7"; 121 hash = "sha256-2QGbR6YvMQeMxN3n1MMJ5qfBcEJ5hjXARUOfEn+m4Jc="; 122 - cargoHash = "sha256-1cGlJP/RRgxt3GGMN1c+7Y5lLHJyvHEnpLsR35R5FfI="; 123 cargoPatches = [ ./update-time-0.8.patch ]; 124 broken = stdenv.hostPlatform.isDarwin; 125 }; ··· 127 garage_0_9_4 = generic { 128 version = "0.9.4"; 129 hash = "sha256-2ZaxenwaVGYYUjUJaGgnGpZNQprQV9+Jns2sXM6cowk="; 130 - cargoHash = "sha256-1Hrip4R5dr31czOcFMGW4ZvVfVwvdd7LkwukwNpS3o4="; 131 cargoPatches = [ ./update-time.patch ]; 132 broken = stdenv.hostPlatform.isDarwin; 133 }; ··· 135 garage_1_0_1 = generic { 136 version = "1.0.1"; 137 hash = "sha256-f6N2asycN04I6U5XQ5LEAqYu/v5jYZiFCxZ8YQ32XyM="; 138 - cargoHash = "sha256-jpc/vaygC5WNSkVA3P01mCRk9Nx/CUumE893tHWoe34="; 139 broken = stdenv.hostPlatform.isDarwin; 140 }; 141
··· 38 rm .cargo/config.toml || true 39 ''; 40 41 + useFetchCargoVendor = true; 42 inherit cargoHash cargoPatches; 43 44 nativeBuildInputs = [ ··· 120 garage_0_8_7 = generic { 121 version = "0.8.7"; 122 hash = "sha256-2QGbR6YvMQeMxN3n1MMJ5qfBcEJ5hjXARUOfEn+m4Jc="; 123 + cargoHash = "sha256-NmeAkm35Su4o5JEn75pZmxhVHh+VMwKwULKY0eCVlYo="; 124 cargoPatches = [ ./update-time-0.8.patch ]; 125 broken = stdenv.hostPlatform.isDarwin; 126 }; ··· 128 garage_0_9_4 = generic { 129 version = "0.9.4"; 130 hash = "sha256-2ZaxenwaVGYYUjUJaGgnGpZNQprQV9+Jns2sXM6cowk="; 131 + cargoHash = "sha256-ittesFz1GUGipQecsmMA+GEaVoUY+C9DtEvsO0HFNCc="; 132 cargoPatches = [ ./update-time.patch ]; 133 broken = stdenv.hostPlatform.isDarwin; 134 }; ··· 136 garage_1_0_1 = generic { 137 version = "1.0.1"; 138 hash = "sha256-f6N2asycN04I6U5XQ5LEAqYu/v5jYZiFCxZ8YQ32XyM="; 139 + cargoHash = "sha256-DX20Uv4g8JO3PlRsTbvr8nF4g9aw1/hW0bfQm6zGBd4="; 140 broken = stdenv.hostPlatform.isDarwin; 141 }; 142