mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
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:
parent
d6324880a4
commit
f594f608dc
@ -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;
|
||||
|
||||
}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user