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

4
.envrc
View file

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