mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 12:27:57 +00:00
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:
parent
6e25b3f37c
commit
cd99109202
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user