From 2e5bbc3d55178f1417a50ce9304deb21c693fcee Mon Sep 17 00:00:00 2001 From: mirza-src Date: Mon, 30 Sep 2024 19:12:40 +0500 Subject: [PATCH] fix: ensure .devenv directory exists for devenv:enterShell task --- src/modules/tasks.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/tasks.nix b/src/modules/tasks.nix index 3e1ce5bce..d3265a6d0 100644 --- a/src/modules/tasks.nix +++ b/src/modules/tasks.nix @@ -127,6 +127,7 @@ in "devenv:enterShell" = { description = "Runs when entering the shell"; exec = '' + mkdir -p "$DEVENV_DOTFILE" echo "$DEVENV_TASK_ENV" > "$DEVENV_DOTFILE/load-exports" chmod +x "$DEVENV_DOTFILE/load-exports" '';