error: attribute 'pkgs-cmp-dict' missing #4101
Unanswered
Sigechaishijie
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
You add When using Nixvim's Home Manager module, there's not an easy way to define specialArgs. There are ways to do it when using evalNixvim directly, but I won't get into that here. In this case, I don't think you actually need "special" args. Args only need to be special when using them to construct imported modules. You should be able to use the E.g. # home.nix (simplified)
{ pkgs-cmp-dict, ... }:
{
programs.nixvim = {
enable = true;
imports = [ ./home/nixvim ];
_module.args = {
inherit pkgs-cmp-dict;
};
};
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm quite new NixOS and NixVim and when I was trying to configure NixVim, it said:
Here's my configuration:
Please tell me how to fix the problem.
Beta Was this translation helpful? Give feedback.
All reactions