Add envrc to dogfood our own direnvrc

This commit is contained in:
Bryan Bennett 2024-08-11 12:15:38 -04:00
parent 2924106823
commit 35dfac9604
No known key found for this signature in database
GPG key ID: EE149E4215408DE9

8
.envrc Normal file
View file

@ -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