Skip to content

[BUG] gitgutter broken #2124

Closed
Closed
@gador

Description

@gador
Field Description
Plugin gitgutter
Nixpkgs 5629520edecb69630a3f4d17d3d33fc96c13f6fe (current master)
Home Manager unstable
  • I have read the FAQ and my bug is not listed there.

Description

(Probably) due to efb004a (from @khaneliman specifically

extraPackages = [ cfg.gitPackage ] ++ [ grepPackage ];
) the following error is observed:

while evaluating the option `home-manager.users.gador.programs.nixvim.extraPackages':

       … while calling anonymous lambda

         at /nix/store/bbww7acvbh82z5air318r5iqn2cy1rcb-source/modules/output.nix:40:32:

           39|       description = "Extra packages to be made available to neovim";
           40|       apply = builtins.filter (p: p != null);
             |                                ^
           41|     };while calling anonymous lambda

         at /nix/store/9yqbs6sdhxhcjf7ynmwn3sav65y5v805-source/lib/types.nix:552:14:

          551|       merge = loc: defs:
          552|         map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def:
             |              ^
          553|           imap1 (m: def':

       error: A definition for option `home-manager.users.gador.programs.nixvim.extraPackages."[definition 9-entry 2]"' is not of type `null or package'. Definition values:
       - In `/nix/store/bbww7acvbh82z5air318r5iqn2cy1rcb-source/plugins/git/gitgutter.nix': [ ]

Minimal, Reproducible Example (MRE)

programs.nixvim = {
    enable = true;
    plugins.gitgutter = {
      enable = true;
    };
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions