Closed ErnWong closed 1 year ago
Does not happen to direnv in my other repos.
Also note an interesting path that got added to PATH when I enter my dotfiles directory:
dotfiles main [פֿ ] ⎔
❯ echo $PATH
/path-not-set:/run/wrappers/bin:/home/nixos/.nix-profile/bin:/etc/profiles/per-user/nixos/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin
The path-not-set
probably comes from this: https://github.com/numtide/devshell/blob/fc463a543e2bc497a6d0bae17fc88aa7e0cec5ee/modules/devshell.nix#L73
Whoops, that's not it. That is for removing the path-not-set
, not inserting it :sweat_smile:
Seems to be fixed by https://github.com/ErnWong/dotfiles/commit/a1107b4141e1f41c2c2744193ac8033be5516290
Not sure why.
I have to manually run
direnv reload
every time I enter the directory. Strange. User error?