diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..5e75bac --- /dev/null +++ b/.envrc @@ -0,0 +1,8 @@ +if [ -L ./result ]; then + echo "Found existing build; using flake_env" + source ./result/share/flake_env/direnvrc + use flake_env . +else + echo "No existing build found; using direnv built-in flake support" + use flake . +fi