diff --git a/.envrc b/.envrc index 6fd14ed6..dabc2ba2 100644 --- a/.envrc +++ b/.envrc @@ -1,5 +1,9 @@ #!/bin/sh +if which nix >/dev/null; then + use flake +fi + if which slap >/dev/null; then eval "$(slap venv -a)" fi diff --git a/.gitignore b/.gitignore index 0ca5d54a..9eff81e9 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ poetry.lock .dmypy.json /result .DS_Store +.direnv/