You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The nix-direnv-reload script that's created when nix_direnv_manual_reload is enabled assumes that the direnv_layout_dir function is the default one provided by direnv that puts the layout dir at $PWD/.direnv. The symptom of this was
touch: cannot touch '/home/gmacon/.cache/direnv/layouts/.direnv/nix-profile-*.rc': No such file or directory
touch: cannot touch '/home/gmacon/.cache/direnv/layouts/.direnv/flake-profile-*.rc': No such file or directory
in the output and it not loading the environment correctly. Looking at the code, I think that's because it's also calling direnv exec "/home/gmacon/.cache/direnv/layouts" true and that directory naturally contains no .envrc to load.
ETA: for the immediate future, I've removed my custom direnv_layout_dir to get unblocked, but I'll try to implement a fix some evening this week, too.
The text was updated successfully, but these errors were encountered:
The
nix-direnv-reload
script that's created whennix_direnv_manual_reload
is enabled assumes that thedirenv_layout_dir
function is the default one provided by direnv that puts the layout dir at$PWD/.direnv
. The symptom of this wasin the output and it not loading the environment correctly. Looking at the code, I think that's because it's also calling
direnv exec "/home/gmacon/.cache/direnv/layouts" true
and that directory naturally contains no.envrc
to load.ETA: for the immediate future, I've removed my custom
direnv_layout_dir
to get unblocked, but I'll try to implement a fix some evening this week, too.The text was updated successfully, but these errors were encountered: