Files
Kirill 6896eb959e first commit
Files in folders are test
2025-10-22 22:52:52 +03:00

20 lines
300 B
Nix

{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = with pkgs; [
python3
];
shellHook = ''
if [ ! -d ".venv" ]; then
python -m venv .venv
fi
source .venv/bin/activate
if [ -f "dependencies.txt" ]; then
pip install -r dependencies.txt
fi
'';
}