Migrate to flakes

This commit is contained in:
Andrey Golovizin 2021-02-06 13:57:51 +01:00
parent 54d0e660c5
commit 02df2ff862
9 changed files with 160 additions and 241 deletions

8
.envrc
View file

@ -1,10 +1,4 @@
if type lorri &>/dev/null; then
# https://github.com/target/lorri
eval "$(lorri direnv)"
else
# fall back to using direnv's builtin nix support
use nix
fi
use flake
VIRTUAL_ENV="$PWD/venv"
if [ ! -e venv ]