Add poetry lock file check to venv nix template
This commit is contained in:
parent
654026846a
commit
bcc2f202c2
|
@ -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
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue