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 rustPlatform.bindgenHook: init 2022-02-22 19:37:07 +01:00
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 rust: fix importCargoLock for repositories without toplevel Cargo.toml 2022-03-17 00:15:56 -04:00