Skip to content

Commit

Permalink
style(flake): simplify attribute set expression
Browse files Browse the repository at this point in the history
  • Loading branch information
trueNAHO committed Nov 3, 2023
1 parent fd3caf8 commit 4905774
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,16 @@
system: let
pkgs = nixpkgs.legacyPackages.${system};
in {
checks = {
preCommitHooks = preCommitHooks.lib.${system}.run {
hooks = {
alejandra.enable = true;
convco.enable = true;
typos.enable = true;
yamllint.enable = true;
};

settings.alejandra.verbosity = "quiet";
src = ./.;
checks.preCommitHooks = preCommitHooks.lib.${system}.run {
hooks = {
alejandra.enable = true;
convco.enable = true;
typos.enable = true;
yamllint.enable = true;
};

settings.alejandra.verbosity = "quiet";
src = ./.;
};

devShells.default = pkgs.mkShell {
Expand Down

0 comments on commit 4905774

Please sign in to comment.