Skip to content

Commit

Permalink
nix-interop: fix option completion of `types.attrsOf (types.submodule…
Browse files Browse the repository at this point in the history
… {})`

a.k.a. fix a small typo.

Because the type-name `attrsOf` was never matched, e.g.
`systemd.services` always had type `any`.
  • Loading branch information
Ma27 committed Sep 2, 2023
1 parent 97abe7d commit e99c891
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/nix-interop/src/nixos_options.nix
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ let

listOf = { name = "list"; inherit elem; };

attrOf = { name = "attrset"; rest = elem; };
lazyAttrOf = { name = "attrset"; rest = elem; };
attrsOf = { name = "attrset"; rest = elem; };
lazyAttrsOf = { name = "attrset"; rest = elem; };

uniq = elem;
unique = elem;
Expand Down

0 comments on commit e99c891

Please sign in to comment.