nix-community / crate2nix

rebuild only changed crates in CI with crate2nix and nix
https://nix-community.github.io/crate2nix/
Apache License 2.0
363 stars 86 forks source link

Support path to Cargo.toml/Cargo.lock in fetched sources #332

Open jalil-salame opened 7 months ago

jalil-salame commented 7 months ago

When using crate2nix.json to specify external sources, you cannot specify a path to the Cargo.toml. (I'm trying to build a Rust subproject in a repo, so the Cargo.toml/Cargo.lock is not at the project root).