Use runCommandLocal for flake checks

This commit is contained in:
SebastianStork 2025-05-11 13:16:56 +02:00
parent baa8f8c4ef
commit 68458ebd83

View file

@ -4,12 +4,12 @@
{ pkgs, ... }:
{
checks = {
# statix = pkgs.runCommand "statix" { buildInputs = [ pkgs.statix ]; } ''
# statix = pkgs.runCommandLocal "statix" { buildInputs = [ pkgs.statix ]; } ''
# statix check ${self}
# mkdir $out
# '';
deadnix = pkgs.runCommand "deadnix" { buildInputs = [ pkgs.deadnix ]; } ''
deadnix = pkgs.runCommandLocal "deadnix" { buildInputs = [ pkgs.deadnix ]; } ''
deadnix --fail ${self}
mkdir $out
'';