mdbook-linkcheck: 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.
This commit is contained in:
parent
fd3338c8be
commit
d4262f6ce2
@ -21,7 +21,11 @@ rustPlatform.buildRustPackage rec {
|
||||
sha256 = "sha256-ZbraChBHuKAcUA62EVHZ1RygIotNEEGv24nhSPAEj00=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-AwixlCL5ZcLgj9wYeBvkSy2U6J8alXf488l8DMn73w4=";
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit pname version src;
|
||||
allowGitDependencies = false;
|
||||
hash = "sha256-Tt7ljjWv2CMtP/ELZNgSH/ifmBk/42+E0r9ZXQEJNP8=";
|
||||
};
|
||||
|
||||
buildInputs = if stdenv.hostPlatform.isDarwin then [ Security ] else [ openssl ];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user