mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
maintainers/build: skip packages without meta
Some packages do not have a meta attribute, and made the script crash.
This commit is contained in:
parent
b9e1737603
commit
b4496d4095
@ -30,7 +30,7 @@ in
|
|||||||
packagesWith
|
packagesWith
|
||||||
(name: pkg:
|
(name: pkg:
|
||||||
(
|
(
|
||||||
if builtins.hasAttr "maintainers" pkg.meta
|
if builtins.hasAttr "meta" pkg && builtins.hasAttr "maintainers" pkg.meta
|
||||||
then (
|
then (
|
||||||
if builtins.isList pkg.meta.maintainers
|
if builtins.isList pkg.meta.maintainers
|
||||||
then builtins.elem maintainer_ pkg.meta.maintainers
|
then builtins.elem maintainer_ pkg.meta.maintainers
|
||||||
|
Loading…
Reference in New Issue
Block a user