From d412d72d693d6387ee0935ad43822fa17664b266 Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Sun, 3 Dec 2023 17:59:48 -0800 Subject: [PATCH] pkgs/top-level/release-outpaths.nix: omit attrnames which fail with "unsupported" We have packages that use `meta.platforms = []` as a sort of synonym for `broken = true`. Without this commit, the attrnames for those jobs will end up in the list of attrnames which are expected to build, even though they are not expected to build. --- pkgs/top-level/release-outpaths.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/top-level/release-outpaths.nix b/pkgs/top-level/release-outpaths.nix index 3521056f87e7..5c433fa542e0 100644 --- a/pkgs/top-level/release-outpaths.nix +++ b/pkgs/top-level/release-outpaths.nix @@ -50,6 +50,8 @@ let # hydra does not build unfree packages, so tons of them are broken yet not marked meta.broken. else if !includeBroken && builtins.elem reason [ "broken" "unfree" ] then throw "broken" + else if builtins.elem reason [ "unsupported" ] + then throw "unsupported" else true; inHydra = true;