checks: only run on x86_64-linux

This commit is contained in:
Max Headroom 2023-09-03 21:34:36 +02:00
parent d51e5e4847
commit a6de5e2e3d
2 changed files with 3 additions and 11 deletions

View file

@ -1,8 +1,8 @@
{ config, self, ... }: { config, lib, self, ... }:
{ {
perSystem = { filters, pkgs, self', ... }: { perSystem = { filters, pkgs, self', system, ... }: {
checks = filters.doFilter filters.checks { checks = lib.mkIf (system == "x86_64-linux") {
ascensions = pkgs.callPackage ./ascensions.nix { ascensions = pkgs.callPackage ./ascensions.nix {
inherit (self) nixosModules; inherit (self) nixosModules;
}; };

View file

@ -11,12 +11,4 @@
searxng = [ "x86_64-linux" ]; searxng = [ "x86_64-linux" ];
tempo = [ "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" ];
};
} }