Add poetry lock file check to venv nix template

This commit is contained in:
Evie Litherland-Smith 2023-04-20 11:59:09 +01:00
parent 654026846a
commit bcc2f202c2

View file

@ -18,5 +18,6 @@ pkgs.mkShell {
python -m venv .venv
source .venv/bin/activate
pip list --outdated | grep -iE "^(pip|wheel)" > /dev/null && python -m pip install --upgrade pip wheel
[ -f poetry.lock ] && python -m pip install -U poetry && python -m poetry install
'';
}