Skip to content

Commit

Permalink
Merge pull request #1048 from cachix/create-state
Browse files Browse the repository at this point in the history
Create $DEVENV_STATE when entering shell
  • Loading branch information
domenkozar authored Mar 25, 2024
2 parents a30343f + e9c23b1 commit 725d433
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions src/modules/processes.nix
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,6 @@ in
${config.processManagerCommand}
if [[ ! -d "$DEVENV_STATE" ]]; then
mkdir -p "$DEVENV_STATE"
fi
backgroundPID=$!
stop_up() {
Expand Down
2 changes: 1 addition & 1 deletion src/modules/top-level.nix
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ in
echo "Please install direnv: https://direnv.net/docs/installation.html"
fi
mkdir -p .devenv
mkdir -p $DEVENV_STATE
if [ ! -L .devenv/profile ] || [ "$(${pkgs.coreutils}/bin/readlink .devenv/profile)" != "${profile}" ]
then
ln -nsf ${profile} .devenv/profile
Expand Down

0 comments on commit 725d433

Please sign in to comment.