Nix flakes /nix/store/***-source no such file or directory

Hello,

I face the same bug…
I manage to rebuild my system when pinning NixOS to a specific commit but not when using nixos-unstable.
And I cannot get home-manager to work at all.
I wonder if this is fixable without reinstalling.

I do not use nix.registry.<name>.flake

EDIT: sudo nix-store --repair --verify --check-contents solved the issue !

6 Likes