You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a Rust workspace using a structure as described in the bug report and do nixpacks plan . This fails.
As an experiment I tried nixpacks plan ./crates/rest-server, which succeeds, but produces the wrong plan because cargo doesn't know it's inside a workspace. The actual build fails.
Expected behavior
No response
Environment
macOS. nixpacks 1.21.3
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Describe the bug
I have a cargo workspace and
nixpacks plan .
ornixpacks build .
both say:Error reading crates/apollo-core/src/Cargo.toml
In my workspace, there's no Cargo.toml in any src/. There's one at the workspace root and one in crate root. My workspace structure looks like:
To reproduce
Create a Rust workspace using a structure as described in the bug report and do
nixpacks plan .
This fails.As an experiment I tried
nixpacks plan ./crates/rest-server
, which succeeds, but produces the wrong plan because cargo doesn't know it's inside a workspace. The actual build fails.Expected behavior
No response
Environment
macOS. nixpacks 1.21.3
The text was updated successfully, but these errors were encountered: