Loading
lixVersions: use 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. I've unified the cargoHash and cargoLock parameters into a single cargoDeps parameter, which is what cargoHash and cargoLock end up being shorthand for. Taking a cargoHash parameter for a package builder isn't generally a good idea, because it will produce a silently broken FOD if we change the hashing scheme, like we're doing here. For Lix this wouldn't be too bad currently because lix-doc isn't exposed and so can't be overridden, but I think this is still cleaner than having two mutually exclusive parameters passed through multiple layers of functions.