From 023fb41c4969ea48a85b3ae12b78d9bacb1bfcd0 Mon Sep 17 00:00:00 2001 From: strawberry Date: Sat, 1 Jun 2024 00:08:26 -0400 Subject: [PATCH] load .env file before initializing flake to use `DIRENV_DEVSHELL` in .env Signed-off-by: strawberry --- .envrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.envrc b/.envrc index 56451c1a..952ec2f8 100644 --- a/.envrc +++ b/.envrc @@ -1,7 +1,7 @@ #!/usr/bin/env bash +dotenv_if_exists + use flake ".#${DIRENV_DEVSHELL:-default}" PATH_add bin - -dotenv_if_exists