-
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
Error when using a git
dependency that includes a workspace, when the flake is also in a workspace
#310
Comments
I am facing this same issue while trying to build typst-preview. Interestingly, one of the dependencies, typst, is a flake, but the package I am building is not a flake. Here are the relevant logs,
|
Ah, I see - the issue is that Naersk copies all dependencies into a flat structure, i.e. it takes:
... and flattens it into:
... which causes things like It seems that Crane handles this correctly, so for the time being I'd suggest checking it out; I don't have much time to prepare a fix now, but if someone wants to, feel free! |
I also hit the version.workspace bug - hopefully a nix wizard can submit a fix for the rest of us 😅 |
|
just hit it |
I don't know if my attempt at a short title makes sense, but I'm encountering a bug with the following setup:
Naersk errors with the following log:
I hope that my PR with sqlx is merged soon and they will release a crates.io crate with my fix, but until then my code will have to depend on my own fork. I don't know if this is easily fixed or not, at least a workaround would be greatly appreciated.
The text was updated successfully, but these errors were encountered: