Skip to content

statix is broken #508

@ink-splatters

Description

@ink-splatters

Regression: statix --ignore option is generated without any value:

143           "always_run": false,
144           "args": [],
145           "entry": "/nix/store/7vl6g9hb48ffdqkyx0dqmxzh1smng7yd-statix-0.5.8/bin/statix check --format errfmt --ignore",
146           "exclude": "^$",
147           "exclude_types": [],
...

in this particular case given the config:

git-hooks.lib.${system}.run {
  inherit src;

  hooks = {
    statix.enable = true;
  };

  tools = pkgs;
}

the --ignore option simply should not have been added at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions