influxdb2: 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.
This commit is contained in:
Alyssa Ross 2025-01-26 20:40:55 +01:00
parent 78aa415507
commit 2b4cec3db0
No known key found for this signature in database
GPG Key ID: 5B459184230FF0A2

View File

@ -59,7 +59,8 @@ let
--replace-fail "deny(warnings, missing_docs))]" "deny(warnings))]"
'';
sourceRoot = "${src.name}/libflux";
cargoHash = "sha256-O+t4f4P5291BuyARH6Xf3LejMFEQEBv+qKtyjHRhclA=";
useFetchCargoVendor = true;
cargoHash = "sha256-wJVvpjaBUae3FK3lQaQov4t0UEsH86tB8B8bsSFGGBU=";
nativeBuildInputs = [ rustPlatform.bindgenHook ];
buildInputs = lib.optional stdenv.hostPlatform.isDarwin libiconv;
pkgcfg = ''