I recently started getting this message when running home-manager switch --flake .:
Home Manager not found at /nix/store/vl5cx74q6n8m7dhxnyx1qpfgiwgifax2-source.
I am also getting this:
error: file 'home-manager/home-manager/build-news.nix' was not found in the Nix search path (add it using $NIX_PATH or -I)
at «none»:0: (source not available)
~
Currently I use Home Manager stand-alone via flake on macOS. I rebuild HM via home-manager switch --flake ~/.config/home-manager and update it via nix flake update ~/.config/home-manager. Every file is git-added.
Hello, did anyone find an explanation to this issue?
I just had it pop up after an update today, home-manager switch --flake . ended with:
error: file 'home-manager/home-manager/build-news.nix' was not found in the Nix search path (add it using $NIX_PATH or -I)
at «none»:0: (source not available)
Same scenario as @noblman, I am using home-manager within NixOS but configured independently from the system configuration.
Strange thing is that issuing again home-manager switch --flake . succeeds and displays:
There is 1 unread and relevant news item.
Read it by running the command "home-manager news".