forked from mirrors/nixpkgs
67a10c88bb
`buildRustPackage` currently accepts `cargoSha256` as a hash for vendored dependencies. This change adds `cargoHash` which accepts SRI hashes, setting `outputHashAlgo` to `null`. The hash mismatch message still uses `cargoSha256` as an example, which it probably should until we completely switch to SRI hashes. |
||
---|---|---|
.. | ||
build-rust-crate | ||
patch-registry-deps | ||
sysroot | ||
cargo-vendor-normalise.py | ||
carnix.nix | ||
crates-io.nix | ||
default-crate-overrides.nix | ||
default.nix | ||
fetchcargo-default-config.toml | ||
fetchCargoTarball.nix | ||
fetchcrate.nix |