-
Notifications
You must be signed in to change notification settings - Fork 19
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
[patch.crates-io]
with local crate fails
#154
Comments
[patch.crates-io]
with local crate fails
Can you verify if this happens with the latest version of https://github.com/ipetkov/crane ? I'm guessing it works fine there, and it's that dream2nix currently just uses an old version of crane (v0.15.0 to be exact) and that's why this doesn't work. |
Had to adapt the interface (for |
We just discard any path crates here https://github.com/nix-community/dream2nix/blob/main/modules/dream2nix/rust-crane/vendor.nix#L116 while vendoring so that maybe the reason. Probably have to cross check with |
Patching the
simple-workspace
example to replace a crates dependency with an local crate leads to problems when building the dependencies.Content of the build directory:
Is there any way to fix the dependency chain? Excluding the crate from the workspace does not change anything, it still seems to show up as empty in the
simple-workspace
directory instead of thenix-vendor
directory.The text was updated successfully, but these errors were encountered: