nmattia / sorri

Just Add Water direnv support for the nix-shell
MIT License
42 stars 3 forks source link

ERROR: no link found #8

Open DavHau opened 4 years ago

DavHau commented 4 years ago

This might have been triggered by a recent garbage collect. Even a direnv reload doesn't help.

~/p/g/mach-nix ❯❯❯ cat .envrc . nix/sorri mach-nix ~/p/g/mach-nix ❯❯❯ direnv allow direnv: loading ~/synced/projects/github/mach-nix/.envrc sorri: looking for matching cached shell in /home/grmpf/.cache/sorri/mach-nix/v2 sorri: using cache created Mon 19 Oct 2020 02:07:00 PM +07 (701eded07fcffa8542ed4cf355fdf56f) sorri: ERROR: no link found at /home/grmpf/.cache/sorri/mach-nix/v2/701eded07fcffa8542ed4cf355fdf56f/link sorri: please run 'direnv allow' to reload the shell direnv: error exit status 1 ~/p/g/mach-nix ❯❯❯ direnv reload direnv: loading ~/synced/projects/github/mach-nix/.envrc sorri: looking for matching cached shell in /home/grmpf/.cache/sorri/mach-nix/v2 sorri: using cache created Mon 19 Oct 2020 02:07:02 PM +07 (701eded07fcffa8542ed4cf355fdf56f) sorri: ERROR: no link found at /home/grmpf/.cache/sorri/mach-nix/v2/701eded07fcffa8542ed4cf355fdf56f/link sorri: please run 'direnv allow' to reload the shell direnv: error exit status 1

nmattia commented 4 years ago

Interesting. I'll have a look, in the meantime you can rm -rf /home/grmpf/.cache/sorri/mach-nix/v2/701eded07fcffa8542ed4cf355fdf56f.