tests.nixos-functions: don’t omit derivations on non‐Linux

Hydra can handle packages that `throw` but not attributes that
disappear depending on platform, and it seems okay for evaluation to
fail here for non‐Linux platforms.
This commit is contained in:
Emily 2024-10-29 05:21:34 +00:00
parent d6324880a4
commit f594f608dc

View File

@ -17,8 +17,7 @@ let
versionSuffix = "test";
label = "test";
};
in lib.optionalAttrs stdenv.hostPlatform.isLinux (
pkgs.recurseIntoAttrs {
in pkgs.recurseIntoAttrs {
nixos-test = (pkgs.nixos {
system.nixos = dummyVersioning;
@ -28,4 +27,3 @@ in lib.optionalAttrs stdenv.hostPlatform.isLinux (
}).toplevel;
}
)