timetracker/shell.nix

19 lines
224 B
Nix
Raw Normal View History

2024-08-08 07:27:51 +00:00
{
pkgs ? import <nixpkgs> { },
}:
pkgs.mkShell {
buildInputs = with pkgs; [
nodejs
python3
poetry
2024-08-11 15:24:50 +00:00
ruff
2024-08-08 07:27:51 +00:00
];
shellHook = ''
python -m venv .venv
. .venv/bin/activate
2024-08-08 07:27:51 +00:00
poetry install
'';
}