File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -55,8 +55,8 @@ use_flake() {
55
55
local profile="$(direnv_layout_dir)/flake-profile"
56
56
local profile_rc="${profile}.rc"
57
57
58
- if [[ ! -e "$profile" \
59
- || ! -e "$profile_rc" \
58
+ if [[ ! -e "$profile"
59
+ || ! -e "$profile_rc"
60
60
|| "$HOME/.direnvrc" -nt "$profile_rc"
61
61
|| .envrc -nt "$profile_rc"
62
62
|| flake.nix -nt "$profile_rc"
@@ -121,11 +121,11 @@ use_nix() {
121
121
local cache="$direnv_dir/cache-${version:-unknown}"
122
122
123
123
local update_drv=0
124
- if [[ ! -e "$cache" \
125
- || "$HOME/.direnvrc" -nt "$cache" \
126
- || .envrc -nt "$cache" \
127
- || default.nix -nt "$cache" \
128
- || shell.nix -nt "$cache" \
124
+ if [[ ! -e "$cache"
125
+ || "$HOME/.direnvrc" -nt "$cache"
126
+ || .envrc -nt "$cache"
127
+ || default.nix -nt "$cache"
128
+ || shell.nix -nt "$cache"
129
129
]];
130
130
then
131
131
[[ -d "$direnv_dir" ]] || mkdir "$direnv_dir"
You can’t perform that action at this time.
0 commit comments