pkgs/top-level/release-outpaths.nix: never attempt to build unfree packages, most of them are broken

Since Hydra does not build unfree packages an astonishing proportion
of them are broken yet not marked meta.broken.
This commit is contained in:
Adam Joseph 2023-12-01 13:25:41 -08:00
parent 6e25b3f37c
commit cd99109202

View file

@ -34,7 +34,7 @@ let
config = {
allowAliases = false;
allowBroken = includeBroken;
allowUnfree = true;
allowUnfree = false;
allowInsecurePredicate = x: true;
checkMeta = checkMeta;
@ -47,7 +47,8 @@ let
in
if builtins.elem reason fatalErrors
then abort errormsg
else if !includeBroken && builtins.elem reason [ "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" ]
then throw "broken"
else true;