shell.nix
raw| 1 | { pkgs ? import <nixpkgs> { } }: |
| 2 | |
| 3 | let |
| 4 | pythonEnv = pkgs.python312.withPackages (ps: with ps; [ |
| 5 | ps.pip |
| 6 | ps.numpy |
| 7 | ps.uv |
| 8 | |
| 9 | # Include any additional Python packages here |
| 10 | ]); |
| 11 | in |
| 12 | pkgs.mkShell { |
| 13 | buildInputs = [ |
| 14 | pythonEnv |
| 15 | pkgs.commitlint-rs |
| 16 | pkgs.nodejs # Add Node.js here |
| 17 | |
| 18 | ]; |
| 19 | |
| 20 | shellHook = '' |
| 21 | source .venv/bin/activate |
| 22 | scripts/setup.sh |
| 23 | ''; |
| 24 | } |