stylix: add packages to checks output

Link: https://github.com/danth/stylix/pull/519
This commit is contained in:
NAHO 2024-12-30 19:22:07 +01:00
parent b3230ef398
commit e56d332ca3
No known key found for this signature in database
GPG key ID: 229CB671D09B95F5

View file

@ -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;