mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-18 18:14:42 +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 {};
|
mailman = handleTest ./mailman.nix {};
|
||||||
man = handleTest ./man.nix {};
|
man = handleTest ./man.nix {};
|
||||||
mariadb-galera = handleTest ./mysql/mariadb-galera.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; });
|
pixelfed = discoverTests (import ./web-apps/pixelfed { inherit handleTestOn; });
|
||||||
mate = handleTest ./mate.nix {};
|
mate = handleTest ./mate.nix {};
|
||||||
mate-wayland = handleTest ./mate-wayland.nix {};
|
mate-wayland = handleTest ./mate-wayland.nix {};
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
{ system ? builtins.currentSystem, handleTestOn }:
|
{ system ? builtins.currentSystem, pkgs, handleTestOn, ... }:
|
||||||
let
|
let
|
||||||
supportedSystems = [ "x86_64-linux" "i686-linux" "aarch64-linux" ];
|
supportedSystems = [ "x86_64-linux" "i686-linux" "aarch64-linux" ];
|
||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
standard = handleTestOn supportedSystems ./standard.nix { inherit system; };
|
standard = handleTestOn supportedSystems ./standard.nix { inherit system pkgs; };
|
||||||
remote-databases = handleTestOn supportedSystems ./remote-databases.nix { inherit system; };
|
remote-databases = handleTestOn supportedSystems ./remote-databases.nix { inherit system pkgs; };
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user