Migrate to poetry, update nixpkgs

This commit is contained in:
Andrey Golovizin 2021-07-08 21:22:52 +02:00
parent c0020fe276
commit 58d3aef568
14 changed files with 1384 additions and 1517 deletions

6
.envrc
View file

@ -1,9 +1,9 @@
use flake
VIRTUAL_ENV="$PWD/venv"
if [ ! -e venv ]
VIRTUAL_ENV="$PWD/.venv"
if [ ! -e .venv ]
then
python -m venv --system-site-packages "${VIRTUAL_ENV}"
poetry install
fi
export VIRTUAL_ENV
PATH_add "$VIRTUAL_ENV/bin"