mirror of
https://git.sr.ht/~bryan_bennett/flake_env
synced 2025-12-16 14:41:24 +01:00
8 lines
225 B
Bash
8 lines
225 B
Bash
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
|