ci/eval: only evaluate the NixOS test on Linux

It does evaluate for macOS – at least when I’m not busy adding a
warning to `x86_64-darwin` – but Darwin‐only changes to the test
driver won’t cause rebuilds on Hydra anyway.
This commit is contained in:
Emily
2026-02-19 15:28:59 +00:00
parent 54f68e828f
commit 82ef104d8e
+4 -2
View File
@@ -67,7 +67,9 @@ let
nixosJobs = import (path + "/nixos/release.nix") {
inherit attrNamesOnly;
supportedSystems = if systems == null then [ builtins.currentSystem ] else systems;
supportedSystems = lib.filter (lib.hasSuffix "-linux") (
if systems == null then [ builtins.currentSystem ] else systems
);
};
recurseIntoAttrs = attrs: attrs // { recurseForDerivations = true; };
@@ -101,6 +103,6 @@ in
tweak (
(removeAttrs nixpkgsJobs blacklist)
// {
nixosTests.simple = nixosJobs.tests.simple;
nixosTests = lib.filterAttrs (name: _: name == "simple") nixosJobs.tests;
}
)