fix(eval/tests): distributed-services: don't abort on warn in tests"
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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} \
|
||||||
|
|||||||
Reference in New Issue
Block a user