nixos/all-tests: Rely on general hydraPlatforms override

It is documented to be about `hydra.nixos.org`, so this is actually
acceptable.
If your own hydra can do it, you may set `meta.hydraPlatforms` in
your tests if you want that. (e.g. set it in a common module that's
imported in all your tests)
This commit is contained in:
Robert Hensing 2025-05-09 19:27:26 +02:00
parent ee83bfa879
commit a8dedd3d97

View file

@ -90,22 +90,12 @@ let
inherit
(rec {
metaModule = {
_file = "${__curPos.file}##metaModule";
meta = {
# Infra issue: virtualization on darwin doesn't seem to work yet.
hydraPlatforms = platforms.linux;
};
};
doRunTest =
arg:
((import ../lib/testing-python.nix { inherit system pkgs; }).evalTest {
imports = [
arg
readOnlyPkgs
metaModule
];
}).config.result;
findTests =