-
Notifications
You must be signed in to change notification settings - Fork 38
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
nixos support #36
Comments
@d-xo For sure. Feel free to create a PR, and we can support nixos. I'm not that familiar with it, since I don't use it. But happy to include support in svm. |
That's great. Perhaps you could give me some pointers on how best to implement this? I think the cleanest approach would be to apply, at runtime, a small patch to the binaries downloaded from soliditylang.org. The patch would be applied via the instantiation of a nix expression. This would essentially boil down to a few invocations of nix command line tooling. Which places in the code would need to be changed? |
Closing as #48 was merged |
The binaries provided by svm-rs are dynamically linked and therefore must be patched to work correctly on nixos. I currently work around this by using
DAPP_SOLC
to point forge to the nixos compatible solc versions that we provide as part of dapptools, but a more integrated experience would be great.Would you be open to supporting nixos directly in svm-rs? I would be happy to do the work and help maintain the integration.
The text was updated successfully, but these errors were encountered: