feat: add nix files for creating a default development environment#9130
Closed
drupol wants to merge 1 commit into
Closed
feat: add nix files for creating a default development environment#9130drupol wants to merge 1 commit into
drupol wants to merge 1 commit into
Conversation
Contributor
@drupol, Welcome to Meshtastic!Thanks for opening your first pull request. We really appreciate it. We discuss work as a team in discord, please join us in the #firmware channel. Welcome to the team 😄 |
Merged
This works with both Nix legacy (nix-shell) and the experimental feature "flake". To spawn a development shell, you have two available options: 1. Using Nix legacy, run `nix-shell` 2. Using Nix with Flakes, run `nix --extra-experimental-features "flakes nix-command" flake develop`.
b159393 to
d69fa82
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This works with both Nix legacy (nix-shell) and the experimental feature "flake".
To spawn a development shell, you have two available options:
nix-shellnix --extra-experimental-features "flakes nix-command" flake develop.Of course, the
flakesfeature is experimental since years and considered as stable. However, there is absolutely no will from upstream to make it stable as of today, this is why I would be wary to only provide Nix with Flakes only🙏 Thank you for sending in a pull request, here's some tips to get started!
❌ (Please delete all these tips and replace them with your text) ❌
to say "Hey, I think this idea X should be implemented and I'm starting work on it. My general plan is Y, any feedback
is appreciated." This will allow other devs to potentially save you time by not accidentially duplicating work etc...
because it automatically follows our indentation rules and its auto reformatting will not cause spurious changes to lines.
🤝 Attestations