Skip to content

Commit b2c71fd

Browse files
committed
remove nix-linter as it's unmaintained
1 parent 0b1e900 commit b2c71fd

File tree

4 files changed

+2
-24
lines changed

4 files changed

+2
-24
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
name: pre-commit-hooks
1717
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
18-
- run: nix-build
18+
- run: nix-build --keep-going
1919
tests-flakes:
2020
strategy:
2121
matrix:

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ use nix
8484
- [deadnix](https://github.com/astro/deadnix)
8585
- [nixpkgs-fmt](https://github.com/nix-community/nixpkgs-fmt)
8686
- [nixfmt](https://github.com/serokell/nixfmt/)
87-
- [nix-linter](https://github.com/Synthetica9/nix-linter)
8887
- [statix](https://github.com/nerdypepper/statix)
8988

9089
## Haskell

modules/hooks.nix

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -103,16 +103,6 @@ in
103103
default = { };
104104
};
105105
};
106-
nix-linter =
107-
{
108-
checks =
109-
mkOption {
110-
type = types.listOf types.str;
111-
description = lib.mdDoc
112-
"Available checks. See `nix-linter --help-for [CHECK]` for more details.";
113-
default = [ ];
114-
};
115-
};
116106
nixfmt =
117107
{
118108
width =
@@ -479,16 +469,6 @@ in
479469
files = "\\.nix$";
480470
pass_filenames = false;
481471
};
482-
nix-linter =
483-
{
484-
name = "nix-linter";
485-
description = "Linter for the Nix expression language.";
486-
entry =
487-
"${tools.nix-linter}/bin/nix-linter ${
488-
lib.escapeShellArgs (lib.concatMap (check: [ "-W" "${check}" ]) settings.nix-linter.checks)
489-
}";
490-
files = "\\.nix$";
491-
};
492472
elm-format =
493473
{
494474
name = "elm-format";

nix/tools.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
, hunspell
2525
, luaPackages
2626
, mdsh
27-
, nix-linter
2827
, nixfmt
2928
, nixpkgs-fmt
3029
, nodePackages
@@ -52,7 +51,7 @@ let
5251
};
5352
in
5453
{
55-
inherit actionlint alejandra cabal-fmt cabal2nix cargo clang-tools clippy deadnix dhall editorconfig-checker hadolint hindent hlint hpack html-tidy nix-linter nixfmt nixpkgs-fmt ormolu rustfmt shellcheck shfmt statix stylish-haskell stylua typos go mdsh revive;
54+
inherit actionlint alejandra cabal-fmt cabal2nix cargo clang-tools clippy deadnix dhall editorconfig-checker hadolint hindent hlint hpack html-tidy nixfmt nixpkgs-fmt ormolu rustfmt shellcheck shfmt statix stylish-haskell stylua typos go mdsh revive;
5655
inherit (elmPackages) elm-format elm-review elm-test;
5756
# TODO: these two should be statically compiled
5857
inherit (haskellPackages) fourmolu;

0 commit comments

Comments
 (0)