From 82ef104d8efa4b7b5202646dacab2b450f4a4947 Mon Sep 17 00:00:00 2001 From: Emily Date: Thu, 19 Feb 2026 15:28:59 +0000 Subject: [PATCH] ci/eval: only evaluate the NixOS test on Linux MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- ci/eval/outpaths.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ci/eval/outpaths.nix b/ci/eval/outpaths.nix index 9abe08e1b165..9dfcb224a222 100755 --- a/ci/eval/outpaths.nix +++ b/ci/eval/outpaths.nix @@ -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; } )