Merge pull request #97514 from fgaz/maintainers-build-fix

maintainers/build: skip packages without meta
This commit is contained in:
Domen Kožar 2020-09-09 11:47:43 +02:00 committed by GitHub
commit 309d47a21b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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