mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Reenable statix check but ignore hosts.nix
This commit is contained in:
parent
0f7950ae10
commit
28e36c23b4
1 changed files with 5 additions and 5 deletions
|
|
@ -4,11 +4,11 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
checks = {
|
||||
# Disable until https://github.com/oppiliappan/statix/issues/88 is resolved
|
||||
# statix = pkgs.runCommand "statix" { buildInputs = [ pkgs.statix ]; } ''
|
||||
# statix check ${self}
|
||||
# mkdir $out
|
||||
# '';
|
||||
# Ignore hosts.nix until https://github.com/oppiliappan/statix/issues/88 is resolved
|
||||
statix = pkgs.runCommand "statix" { buildInputs = [ pkgs.statix ]; } ''
|
||||
statix check --ignore ${self}/flake/hosts.nix ${self}
|
||||
mkdir $out
|
||||
'';
|
||||
|
||||
deadnix = pkgs.runCommand "deadnix" { buildInputs = [ pkgs.deadnix ]; } ''
|
||||
deadnix --fail ${self}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue