From e7e2212011dcbe4728fe96ae8eeed43f60449fa0 Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 23 Jul 2024 20:17:47 +0200 Subject: [PATCH] cluster/simulacrum: only run checks on x86_64-linux --- cluster/simulacrum/checks.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cluster/simulacrum/checks.nix b/cluster/simulacrum/checks.nix index 1d6deb3..bf3e918 100644 --- a/cluster/simulacrum/checks.nix +++ b/cluster/simulacrum/checks.nix @@ -1,8 +1,8 @@ { config, extendModules, lib, ... }: { - perSystem = { pkgs, ... }: { - checks = lib.mapAttrs' (name: svc: let + perSystem = { pkgs, system, ... }: { + checks = lib.mkIf (system == "x86_64-linux") (lib.mapAttrs' (name: svc: let runSimulacrum = pkgs.callPackage ./. { inherit config extendModules; }; @@ -11,6 +11,6 @@ value = runSimulacrum { service = name; }; - }) (lib.filterAttrs (_: svc: svc.simulacrum.enable) config.cluster.config.services); + }) (lib.filterAttrs (_: svc: svc.simulacrum.enable) config.cluster.config.services)); }; }