stylix: add packages to checks output
Link: https://github.com/danth/stylix/pull/519
This commit is contained in:
parent
b3230ef398
commit
e56d332ca3
1 changed files with 9 additions and 7 deletions
16
flake.nix
16
flake.nix
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue