-
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
bug(forge build
): forge build
fails during patch for solc>=0.8.24 (on NixOS?)
#9682
Closed
2 tasks done
Labels
Comments
benSepanski
added
T-bug
Type: bug
T-needs-triage
Type: this issue needs to be labelled
labels
Jan 14, 2025
Hi @benSepanski From the error it appears you are running NixOS? Is this correct? Possibly related: #545 |
zerosnacks
added
T-to-investigate
Type: to investigate
A-compiler
Area: compiler
and removed
T-needs-triage
Type: this issue needs to be labelled
labels
Jan 15, 2025
zerosnacks
changed the title
Forge build fails during patch for solc>=0.8.24
bug(Jan 15, 2025
forge build
): forge build
fails during patch for solc>=0.8.24 (on NixOS?)
Thanks! I do have nix on my system, but for a different application. I am trying to not use it for foundry, though I guess svm-rs does not give me much of an option I've tried some of the solutions recommended in #545, but did not have the error messages they did, and the solutions did not work for me |
zerosnacks
added
A-dependencies
Area: dependencies
T-blocked
Type: blocked
and removed
T-to-investigate
Type: to investigate
T-blocked
Type: blocked
labels
Jan 15, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.3.0 (017c59d 2025-01-14T00:23:15.391167000Z)
What version of Foundryup are you on?
foundryup: 0.3.0
What command(s) is the bug in?
forge build
Operating System
macOS (Apple Silicon)
Describe the bug
mkdir myProj cd myProj forge init forge install forge build
Results in the following error:
However, this error disappears if I set the solidity version to 0.8.23 or lower in the
foundry.toml
. I am using thesolc
downloaded from brew (today), and have tried with both stable and nightly foundry.The text was updated successfully, but these errors were encountered: