Set up nix flake - #32
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds Nix flake configuration to simplify local development setup by providing a reproducible Python environment. The change addresses the mismatch between the PR title ("add gemini-2.5-flash to known models") and the actual implementation, which focuses on Nix development environment configuration.
Key Changes:
- Added a new Nix flake configuration file for local development environment setup
- Configuration includes Python 3 with hardening disabled for development convenience
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| @@ -0,0 +1,14 @@ | |||
| { | |||
There was a problem hiding this comment.
The flake is missing the required 'inputs' attribute that declares dependencies on 'nixpkgs' and 'flake-utils'. Add an inputs section before outputs to properly declare these dependencies.
| { | |
| { | |
| inputs = { | |
| nixpkgs.url = "github:NixOS/nixpkgs"; | |
| flake-utils.url = "github:numtide/flake-utils"; | |
| }; |
| mkShell { | ||
| hardeningDisable = [ "all" ]; | ||
| buildInputs = [ | ||
| python3 |
There was a problem hiding this comment.
The PR description specifies Python 3.13.7, but the flake uses the generic 'python3' package which may resolve to a different version depending on the nixpkgs revision. Consider using 'python313' explicitly or document which nixpkgs version provides Python 3.13.7.
| python3 | |
| python313 |
Description
Trying to make local dev easier by setting up nix flake to install python 3.13.7 in this directory
Run these commands to get started:
Linked Issues
Checklist