From b4496d4095b2defbc257fc1d26dafbf05291b768 Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Wed, 9 Sep 2020 09:54:03 +0200 Subject: [PATCH] maintainers/build: skip packages without meta Some packages do not have a meta attribute, and made the script crash. --- maintainers/scripts/build.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintainers/scripts/build.nix b/maintainers/scripts/build.nix index c70993cf138c..9b2bf00c803a 100644 --- a/maintainers/scripts/build.nix +++ b/maintainers/scripts/build.nix @@ -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