I did a manual upgrade to the latest version of NixOS and Nix a month or
so ago, and just realized that command-not-found doesn't work for me.
So I ran it manually (command-not-found whois) and I get the following
error. I'm not sure if my manual upgrade didn't set it up properly:
$ command-not-f
I just noticed it's trying to open programs.sqlite in per-user/root,
which my user does not have read access to. programs.sqlite does exist
in the per-user dir for my user, I don't know if it should be looking
there or why it isn't.
/M
Malcolm Matalka writes:
> I did a manual upgrade to the la
Hi Malcolm,
Currently command-not-found (and other NixOS bits, like the default
setting for NIX_PATH or nixos-rebuild --upgrade) assume that you have
the nixos channel in root's profile, as only root should have permission
to register manifests or add binary caches. So for the command-not-found