-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicated sources when using a workspace (multi-crates) repository #197
Comments
Huh! Yes, these should be deduplicated: https://github.com/kolloch/crate2nix/blob/7902f754b7ce5bc6d4083d7d969e5e3f9506a1c0/tools.nix Potentially, we also need to have the rev as part of the key, not sure about that. |
Running into the same error while trying to build vaultwarden. @hectorj did you find any workarounds? I'm using this flake.nix and get a very similar error:
|
@kolloch If you think it's a good first issue, I am willing to try to solve it |
I have also now been bitten by this. It seems like there are some proposed solutions even in PR, and other forks have been using them. Would be great to get a fix in. |
Hi!
I'm having some trouble when using crates from a repository which defines a workspace (multiple crates).
Here are the relevant bits of my example:
Cargo.toml
Cargo.lock
The error:
and the
cargo/config
file referenced in the error:It seems like some deduplication is necessary
And here is a direct link to the dependency's Cargo.toml: https://github.com/chinedufn/percy/blob/c5798a9f46719cf358c58b934110a59706c00f4d/Cargo.toml
The text was updated successfully, but these errors were encountered: