mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
Merge pull request #324600 from erictapen/mastodon
nixos/mastodon: use recurseIntoAttrs for better test ergonomics
This commit is contained in:
commit
e0d9110aee
@ -535,7 +535,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