cluster/simulacrum: only run checks on x86_64-linux
This commit is contained in:
parent
c8b25cde79
commit
e7e2212011
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
||||||
{ config, extendModules, lib, ... }:
|
{ config, extendModules, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
perSystem = { pkgs, ... }: {
|
perSystem = { pkgs, system, ... }: {
|
||||||
checks = lib.mapAttrs' (name: svc: let
|
checks = lib.mkIf (system == "x86_64-linux") (lib.mapAttrs' (name: svc: let
|
||||||
runSimulacrum = pkgs.callPackage ./. {
|
runSimulacrum = pkgs.callPackage ./. {
|
||||||
inherit config extendModules;
|
inherit config extendModules;
|
||||||
};
|
};
|
||||||
|
@ -11,6 +11,6 @@
|
||||||
value = runSimulacrum {
|
value = runSimulacrum {
|
||||||
service = name;
|
service = name;
|
||||||
};
|
};
|
||||||
}) (lib.filterAttrs (_: svc: svc.simulacrum.enable) config.cluster.config.services);
|
}) (lib.filterAttrs (_: svc: svc.simulacrum.enable) config.cluster.config.services));
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue