From 823515b475d137255b7cfeb304652d2d1dd2090e Mon Sep 17 00:00:00 2001 From: Benjamin Lee Date: Thu, 30 May 2024 00:49:56 -0700 Subject: [PATCH] load .env file before initializing flake This allows specifying DIRENV_DEVSHELL in .env --- .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