Open gwbischof opened 9 months ago
nixpack build .
gives the following error: Error: This manifest requires workspace inheritance, but `inherit_workspace` hasn't been called yet
Error: This manifest requires workspace inheritance, but `inherit_workspace` hasn't been called yet
when using:
[dependencies] http = { workspace = true }
like described in this doc: https://doc.rust-lang.org/cargo/reference/workspaces.html#the-dependencies-table
Use the code from this PR: https://github.com/railwayapp/nixpacks/pull/992
cd nixpacks/examples/rust-cargo-workspaces nixpacks build .
build successful
NAME="Linux Mint" VERSION="21.2 (Victoria)"
nixpacks --version nixpacks 1.17.0
I see that nixpacks rust is pinned to 1.60, I think Rust > 1.64 might fix this. https://github.com/rust-lang/rust/blob/master/RELEASES.md#cargo-8
nixpacks
Is there an existing issue for this?
Describe the bug
nixpack build .
gives the following error:
Error: This manifest requires workspace inheritance, but `inherit_workspace` hasn't been called yet
when using:
like described in this doc: https://doc.rust-lang.org/cargo/reference/workspaces.html#the-dependencies-table
To reproduce
Use the code from this PR: https://github.com/railwayapp/nixpacks/pull/992
Expected behavior
build successful
Environment
NAME="Linux Mint" VERSION="21.2 (Victoria)"