Merge pull request #97514 from fgaz/maintainers-build-fix
maintainers/build: skip packages without meta
This commit is contained in:
commit
309d47a21b
@ -30,7 +30,7 @@ in
|
||||
packagesWith
|
||||
(name: pkg:
|
||||
(
|
||||
if builtins.hasAttr "maintainers" pkg.meta
|
||||
if builtins.hasAttr "meta" pkg && builtins.hasAttr "maintainers" pkg.meta
|
||||
then (
|
||||
if builtins.isList pkg.meta.maintainers
|
||||
then builtins.elem maintainer_ pkg.meta.maintainers
|
||||
|
Loading…
Reference in New Issue
Block a user