Skip to content

Commit

Permalink
Merge pull request #1487 from mirza-src/load-exports-missing
Browse files Browse the repository at this point in the history
fix: ensure .devenv directory exists for devenv:enterShell task
  • Loading branch information
domenkozar authored Sep 30, 2024
2 parents 4ed8eea + 2e5bbc3 commit 69c4054
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/tasks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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"
'';
Expand Down

0 comments on commit 69c4054

Please sign in to comment.