nixpkgs/pkgs/build-support/rust
sohalt 3619ffaeb6 rust: fix importCargoLock for repositories without toplevel Cargo.toml
Some crates do not have a Cargo.toml at the top-level, but only in
nested directories. Before this change importCargoLock used to fail with:

error: manifest path `/nix/store/some-store-path/Cargo.toml` does not exist
2022-03-17 00:15:56 -04:00
..
build-rust-crate
build-rust-package
fetch-cargo-tarball
hooks
lib
sysroot
test/import-cargo-lock
carnix.nix
crates-io.nix
default-crate-overrides.nix
fetchcargo-default-config.toml
fetchcrate.nix
import-cargo-lock.nix