mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 11:13:30 +00:00
23dd37dd5e
near the end of 2019, the default Cargo.lock format was changed to [[package]] checksum = ... This is what importCargoLock assumes. If the crate had not been `cargo update`'d with a more recent toolchain than the one with the new format as default, importCargoLock would fail when trying to access pkg.checksum. I ran into such a case (shamefully, in my own crate) and it took me a while to figure out what was going on, so here is an assert with a more user friendly message and a hint. |
||
---|---|---|
.. | ||
build-rust-crate | ||
hooks | ||
patch-registry-deps | ||
sysroot | ||
test/import-cargo-lock | ||
cargo-vendor-normalise.py | ||
carnix.nix | ||
crates-io.nix | ||
default-crate-overrides.nix | ||
default.nix | ||
fetchcargo-default-config.toml | ||
fetchCargoTarball.nix | ||
fetchcrate.nix | ||
import-cargo-lock.nix |