Add flake.nix for NixOS dev shell development and build#2
Merged
m-obeid merged 2 commits intom-obeid:mainfrom Feb 20, 2026
Merged
Add flake.nix for NixOS dev shell development and build#2m-obeid merged 2 commits intom-obeid:mainfrom
m-obeid merged 2 commits intom-obeid:mainfrom
Conversation
Owner
|
Sure, I’ll add it in |
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.
I have added a NixOS Dev Shell file in case you think that might be useful. This allows people on NixOS to build and run the program, as well as develop on the project. No issues if this doesn't seem like something you want in the repo, but can make it easier for people to build and run it if they are running NixOS.
The flake.nix comes with a description of the requirements and dependencies and builds everything and creates the nix shell.
On NixOS, the project would be run with
nix developand then just with the python script as normal. The Nix Shell comes with all requirements needed for the code to run. The flake.lock file comes with the exact dependencies version locked.