nixos/mastodon: use recurseIntoAttrs for better test ergonomics
This commit is contained in:
parent
f8290df5fd
commit
d9cec95613
@ -534,7 +534,7 @@ in {
|
||||
mailman = handleTest ./mailman.nix {};
|
||||
man = handleTest ./man.nix {};
|
||||
mariadb-galera = handleTest ./mysql/mariadb-galera.nix {};
|
||||
mastodon = discoverTests (import ./web-apps/mastodon { inherit handleTestOn; });
|
||||
mastodon = pkgs.recurseIntoAttrs (handleTest ./web-apps/mastodon { inherit handleTestOn; });
|
||||
pixelfed = discoverTests (import ./web-apps/pixelfed { inherit handleTestOn; });
|
||||
mate = handleTest ./mate.nix {};
|
||||
mate-wayland = handleTest ./mate-wayland.nix {};
|
||||
|
@ -1,9 +1,9 @@
|
||||
{ system ? builtins.currentSystem, handleTestOn }:
|
||||
{ system ? builtins.currentSystem, pkgs, handleTestOn, ... }:
|
||||
let
|
||||
supportedSystems = [ "x86_64-linux" "i686-linux" "aarch64-linux" ];
|
||||
|
||||
in
|
||||
{
|
||||
standard = handleTestOn supportedSystems ./standard.nix { inherit system; };
|
||||
remote-databases = handleTestOn supportedSystems ./remote-databases.nix { inherit system; };
|
||||
standard = handleTestOn supportedSystems ./standard.nix { inherit system pkgs; };
|
||||
remote-databases = handleTestOn supportedSystems ./remote-databases.nix { inherit system pkgs; };
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user