nixypanda / dotfiles

My dotfiles + system configuration for NixOS and mac
MIT License
170 stars 11 forks source link

error: attribute 'colorscheme' missing #8

Closed alienzj closed 2 years ago

alienzj commented 2 years ago

Dear @sherubthakur , thank you for your wonderful work.

Recently I meet below error, could you please guide me how to fix it ?

alienzj@yoga ~/.dotfiles (nixos)> sudo nixos-rebuild switch --flake './#yoga' -p XFLAKE
warning: input 'nur' has an override for a non-existent input 'nixpkgs'
error: attribute 'colorscheme' missing

       at /nix/store/8x9s4zv7dzmwxmm8lhsxk3nf8lxlh52q-source/lib/modules.nix:503:28:

          502|         builtins.addErrorContext (context name)
          503|           (args.${name} or config._module.args.${name})
             |                            ^
          504|       ) (lib.functionArgs f);
(use '--show-trace' to show detailed location information)
nixypanda commented 2 years ago

This can only happen if some change was made to how it works. I implicitly provide colorscheme to every module. https://github.com/sherubthakur/dotfiles/blob/d46ea3b14b/flake.nix#L36-L39 Maybe you changed something and this got removed from the configuration of yoga

alienzj commented 2 years ago

Icic, thanks!