mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 19:51:34 +01:00
22 lines
528 B
Nix
22 lines
528 B
Nix
{ inputs, self, ... }:
|
|
{
|
|
perSystem =
|
|
{ pkgs, ... }:
|
|
{
|
|
checks = {
|
|
# statix = pkgs.runCommandLocal "statix" { buildInputs = [ pkgs.statix ]; } ''
|
|
# statix check ${self}
|
|
# mkdir $out
|
|
# '';
|
|
|
|
deadnix = pkgs.runCommandLocal "deadnix" { buildInputs = [ pkgs.deadnix ]; } ''
|
|
deadnix --fail ${self}
|
|
mkdir $out
|
|
'';
|
|
};
|
|
};
|
|
|
|
flake.checks = builtins.mapAttrs (
|
|
_: deployLib: deployLib.deployChecks self.deploy
|
|
) inputs.deploy-rs.lib;
|
|
}
|