Skip to content

Commit

Permalink
stylix: add packages to checks output
Browse files Browse the repository at this point in the history
Link: danth#519
(cherry picked from commit e56d332)
  • Loading branch information
trueNAHO committed Jan 4, 2025
1 parent e509a39 commit 2a39ef0
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,16 @@
inherit (nixpkgs) lib;
pkgs = nixpkgs.legacyPackages.${system};
in {
checks.git-hooks = inputs.git-hooks.lib.${system}.run {
hooks = {
deadnix.enable = true;
statix.enable = true;
};
checks = lib.attrsets.unionOfDisjoint {
git-hooks = inputs.git-hooks.lib.${system}.run {
hooks = {
deadnix.enable = true;
statix.enable = true;
};

src = ./.;
};
src = ./.;
};
} self.packages.${system};

devShells.default = pkgs.mkShell {
inherit (self.checks.${system}.git-hooks) shellHook;
Expand Down

0 comments on commit 2a39ef0

Please sign in to comment.