[BUG] home-manager nixvim type getSubOptions errors with attribute 'pkgs' missing #2378
Closed
1 task done
Labels
bug
Something isn't working
d42c804ad515f45f8addaf5a4bb0b8ce405ea140
bc947f541ae55e999ffdb4013441347d83b00fe
509dbf8d45606b618e9ec3bbe4e936b7c5bc6c1e
Description
This is some low-level stuff, but I need it for nixd language server setup. It was working before 4b7a412. In order to provide nixvim options to nixd I need to get top-level nixvim options. To get my options with my custom modules I'm using
homeConfigurations.stas.options.programs.nixvim.type.getSubOptions []
for this. But it stopped working and I don't know a workaround yet. Full trace of the error:Any ideas where
pkgs
attr is missing?Minimal, Reproducible Example (MRE)
Minimal flake.nix:
Then run in a directory with the flake above:
Alternatively use nix repl:
If I change nixvim URL to
github:nix-community/nixvim?rev=8c3d521bff0142f9b690bccd62c29b3ce8c71ac8
then it's working again.The text was updated successfully, but these errors were encountered: