When I enter
home-manager switch the following errors occurs:
error: attribute 'anything' missing, at /home/milad/.nix-defexpr/channels/home-manager/modules/programs/matplotlib.nix:26:28
(use '--show-trace' to show detailed location information)
There are 158 unread and relevant news items.
Read them by running the command 'home-manager news'.
What should I do to fix this problem?
This is a common error message and means that you are wrongly mixing channels.
Please check that your HM and
nixpkgs channel point to the same version.
Here is the list of my channels:
What is the problem? both of them are unstable. Isn’t ok?
Please also check
roots list of channels.
If there is a channel that is stable, then that is picked.
nixos for a channel is usually only used by
root. A user has to use
nixpkgs to avoid fallback mechanisms.
Thank you for your help.
You saved my whole day