Skip to content

Conversation

TornaxO7
Copy link

Adds a dev shell for nix users.

@mdecimus
Copy link
Member

I'm not familiar with Nix, why is a flake needed when dependencies are handled by cargo?

@TornaxO7
Copy link
Author

TornaxO7 commented Aug 2, 2025

Oh damn, I completely forgot this one....

why is a flake needed when dependencies are handled by cargo?

This is just an addition for nix-users like me.
The flake is there to help nix-users to load a shell which setups everything (in this case: Install the correct rust toolchain) and by using direnv this happens by simply navigating into the project.

In my case, by having this PR merged I just need to cd into the project and every dev tool (rust-analyzer, rust compiler, cargo, etc.) get prepared for automatically without doing anything and I can immediately start working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants