-
Notifications
You must be signed in to change notification settings - Fork 32
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
Add a nix / devbox distribution option #289
Comments
Hi! At the moment, we do not plan on supporting a Nix distribution option, but we would welcome anyone from the community who is willing to create it and maintain it. |
I'm not a nix expert, just like how "when it works" it makes stuff easy haha, but willing to help if someone wants to give some infos |
Could you tell me for instance the most straightforward and "best practice" installation process for now to install the rust env for esp32-s3 compilation? I can take it from there |
Details are explained in https://docs.esp-rs.org/book/installation/index.html, but assuming you want a rust no_std env for S3 here is what you need to do:
|
okay, this seems to work: https://gist.github.com/maelp/323a9ca57620009486cd834a430de680 |
I haven't installed all the other tools, I guess it shouldn't be too hard, but I'm not a Nix expert 😅 |
A few comments:
|
@SergioGasquez thanks for the comments! Indeed it was meant more as a kind of "starter config" so that someone more experienced could finish packaging it, do you want me to do the modifications? I'm targeting no-std for esp32-s3, but indeed if we integrate this in one of the If you know someone who could finish packaging all of this he might be more efficient than the two of us doing back and forth perhaps? However if you think that just the above changes are sufficient I can implement them and send you a new gist |
As you want, as mentioned before, we won't be able to maintain this, so if you want to take care of this and share it, maybe other nix user can build on top of it!
Then, |
It's quite useful to have nix/devbox to setup efficient local dev environment, would it be possible to package rust-build in nix, so we could just
nix shell -p rust-build
and get a fully-functional dev env?The text was updated successfully, but these errors were encountered: