fix(eval/tests): distributed-services: don't abort on warn in tests"

This commit is contained in:
Johannes Kirschbauer
2025-03-30 14:51:31 +02:00
parent a3b636aab3
commit eac13871c2
2 changed files with 1 additions and 2 deletions

View File

@@ -79,7 +79,7 @@ let
{ imports = inventoryClass.machines.${name}.machineImports or [ ]; } { imports = inventoryClass.machines.${name}.machineImports or [ ]; }
# Import the distribute services # Import the distribute services
{ imports = config.clanInternals.distributedServices.allMachines.${name} or []; } { imports = config.clanInternals.distributedServices.allMachines.${name} or [ ]; }
( (
{ {
# Settings # Settings

View File

@@ -21,7 +21,6 @@ in
checks = { checks = {
lib-distributedServices-eval = pkgs.runCommand "tests" { nativeBuildInputs = [ pkgs.nix-unit ]; } '' lib-distributedServices-eval = pkgs.runCommand "tests" { nativeBuildInputs = [ pkgs.nix-unit ]; } ''
export HOME="$(realpath .)" export HOME="$(realpath .)"
export NIX_ABORT_ON_WARN=1
nix-unit --eval-store "$HOME" \ nix-unit --eval-store "$HOME" \
--extra-experimental-features flakes \ --extra-experimental-features flakes \
${inputOverrides} \ ${inputOverrides} \