load .env file before initializing flake to use `DIRENV_DEVSHELL` in .env

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-06-01 00:08:26 -04:00
parent 9a5f1dac57
commit 023fb41c49
1 changed files with 2 additions and 2 deletions

4
.envrc
View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
dotenv_if_exists
use flake ".#${DIRENV_DEVSHELL:-default}"
PATH_add bin
dotenv_if_exists