chore(nix): add flake with devShell and direnv support#217
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR introduces a Nix-based development environment for the Rust project so contributors can enter a reproducible shell and optionally auto-load it with direnv. It fits into the codebase as developer tooling around the existing Cargo-based workflow rather than changing runtime behavior.
Changes:
- Add a new
flake.nixthat defines a cross-platformdevShellwith Rust, OpenSSL-related build dependencies, and Nix tooling. - Add a pinned
flake.lockso the development environment is reproducible. - Add
.envrcto enable direnv-based loading of the flake shell.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
flake.nix |
Defines the new Nix flake and default development shell for supported systems. |
flake.lock |
Pins the Nix inputs used by the flake for reproducibility. |
.envrc |
Enables direnv to automatically load the flake-based shell. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
No description provided.