-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Fails to compile with vendored dependencies #3249
Comments
oh this looks like an issue with how the I guess the manifest dir is something different when running https://github.com/gakonst/ethers-rs/blob/master/ethers-core/src/macros/ethers_crate.rs#L51 |
vendor creates a
Adding it there however generates a cyclic dependency. it looks like the macro shouldn't return
but not sure what it should return. |
Hi @happysalada, would be great if you could re-run this to see if this is still valid considering Ethers has been replaced by Alloy
|
I was waiting for a stable release to try again packaging this for nixos. Any release on the horizon by any chance ? |
Sure go ahead ! |
Component
Other (please describe)
Have you ensured that all of these are up to date?
What version of Foundry are you on?
latest master
What command(s) is the bug in?
cargo build
Operating System
macOS (Intel)
Describe the bug
using
cargo vendor
to vendor dependencies, the project fails to compile with errors likeit's quite easy to reproduce. Use
cargo vendor
then inside the.cargo/config.toml
file just add the followingContext: supporting vendored dependencies would enable forge to be added to
nixos
. Rust compilation on nixos can only be done through vendored dependencies.I understand that this might not be a priority, no worries!
Thanks again for making great software!
The text was updated successfully, but these errors were encountered: