mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
ci/eval: don't evaluate packages marked as broken
We really can't expect packages that are marked as broken to evaluate, and *especially* not on unsupported platforms. For context, we were attempting to eval them *past* the broken throw previously, which caused fun side effects like [0]. When we set `includeBroken = true` before, this also included unfree packages. Those would now be excluded, which is not what we want. Thus, we explicitly enable them separately. Commit by winterqt, message slightly reworded by wolfgangwalther. [0]: https://github.com/NixOS/nixpkgs/issues/355847#issuecomment-2878873137
This commit is contained in:
parent
3cc678fad5
commit
5240bdf3c6
2 changed files with 4 additions and 2 deletions
|
@ -73,7 +73,9 @@ let
|
|||
# The number of attributes per chunk, see ./README.md for more info.
|
||||
chunkSize,
|
||||
checkMeta ? true,
|
||||
includeBroken ? true,
|
||||
|
||||
# Don't try to eval packages marked as broken.
|
||||
includeBroken ? false,
|
||||
# Whether to just evaluate a single chunk for quick testing
|
||||
quickTest ? false,
|
||||
}:
|
||||
|
|
|
@ -27,7 +27,7 @@ let
|
|||
config = {
|
||||
allowAliases = false;
|
||||
allowBroken = includeBroken;
|
||||
allowUnfree = false;
|
||||
allowUnfree = true;
|
||||
allowInsecurePredicate = x: true;
|
||||
checkMeta = checkMeta;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue