-
Notifications
You must be signed in to change notification settings - Fork 87
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
Git dependencies with [patch.crates-io] #152
Comments
Same issue here |
yusdacra@5a0df99 this commit fixes that I believe. Veloren also uses |
jwoudenberg
added a commit
to jwoudenberg/elm-pair
that referenced
this issue
Jan 12, 2022
Without this the Nix build is currently failing, because the stable naersk has a bug related to using git dependencies in crate overrides, see: nix-community/naersk#152 Fixing to the naersk in this PR fixed things: nix-community/naersk#167 This should be a short-lived changed. I hope to either get my PR for the abomonation library merged which would make the crate override unnecessary. Should it not get merged I'll likely abandon my abomonation fork for some alternative solution.
jwoudenberg
added a commit
to jwoudenberg/elm-pair
that referenced
this issue
Jan 17, 2022
Without this the Nix build is currently failing, because the stable naersk has a bug related to using git dependencies in crate overrides, see: nix-community/naersk#152 Fixing to the naersk in this PR fixed things: nix-community/naersk#167 This should be a short-lived changed. I hope to either get my PR for the abomonation library merged which would make the crate override unnecessary. Should it not get merged I'll likely abandon my abomonation fork for some alternative solution.
This should be fixed now that we have #231 merged. Please feel free to re-open this ticket if the issue still appears 🙂 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately, git dependencies in
[patch.crates-io]
aren't taken into account.You can test it out on this branch of rnix-lsp. (There is a
default.nix
which uses flake-compat if you're not a user of nix flakes)It's apparently not as simple as the following diff, otherwise I would have opened a PR. That seems to cause some issue where cargo thinks the lock file is out-of-date - very strange indeed.
The text was updated successfully, but these errors were encountered: