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.
This commit is contained in:
Adam Joseph 2023-12-03 17:59:48 -08:00
parent 8f34a10d6a
commit d412d72d69

View file

@ -50,6 +50,8 @@ let
# hydra does not build unfree packages, so tons of them are broken yet not marked meta.broken. # 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" ] else if !includeBroken && builtins.elem reason [ "broken" "unfree" ]
then throw "broken" then throw "broken"
else if builtins.elem reason [ "unsupported" ]
then throw "unsupported"
else true; else true;
inHydra = true; inHydra = true;