From a6de5e2e3db44889e00a76126cf5073a9e45b4c7 Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 3 Sep 2023 21:34:36 +0200 Subject: [PATCH] checks: only run on x86_64-linux --- packages/checks/default.nix | 6 +++--- packages/system-filter.nix | 8 -------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/packages/checks/default.nix b/packages/checks/default.nix index ffb02d6..8b84917 100644 --- a/packages/checks/default.nix +++ b/packages/checks/default.nix @@ -1,8 +1,8 @@ -{ config, self, ... }: +{ config, lib, self, ... }: { - perSystem = { filters, pkgs, self', ... }: { - checks = filters.doFilter filters.checks { + perSystem = { filters, pkgs, self', system, ... }: { + checks = lib.mkIf (system == "x86_64-linux") { ascensions = pkgs.callPackage ./ascensions.nix { inherit (self) nixosModules; }; diff --git a/packages/system-filter.nix b/packages/system-filter.nix index f66cffb..151b853 100644 --- a/packages/system-filter.nix +++ b/packages/system-filter.nix @@ -11,12 +11,4 @@ searxng = [ "x86_64-linux" ]; tempo = [ "x86_64-linux" ]; }; - checks = { - ascensions = [ "x86_64-linux" ]; - jellyfin-stateless = [ "x86_64-linux" ]; - keycloak = [ "x86_64-linux" ]; - patroni = [ "x86_64-linux" ]; - searxng = [ "x86_64-linux" ]; - tempo = [ "x86_64-linux" ]; - }; }