Skip to content

Commit

Permalink
Merge pull request #536 from nicknovitski/patch-1
Browse files Browse the repository at this point in the history
Always set nix-direnv-reload as executable
  • Loading branch information
Mic92 authored Nov 27, 2024
2 parents 7789681 + 8a94275 commit 0357fa0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions direnvrc
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,7 @@ touch "$PWD/.envrc"
touch -r "$PWD/.envrc" "${layout_dir}"/*.rc
EOF

if [[ ! -x "${layout_dir}/bin/nix-direnv-reload" ]]; then
chmod +x "${layout_dir}/bin/nix-direnv-reload"
fi
chmod +x "${layout_dir}/bin/nix-direnv-reload"

PATH_add "${layout_dir}/bin"
}
Expand Down

0 comments on commit 0357fa0

Please sign in to comment.