weblate: skip null packages in relaxDeps logic

This fixes eval on staging, because there Python 3.14 is the default and
backports-zstd is null, because it is included by default.
This commit is contained in:
Martin Weinelt
2026-06-15 18:22:04 +02:00
parent e711415100
commit 0fd69dc26c
+1 -1
View File
@@ -111,7 +111,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
];
in
lib.concatMap (
p: if lib.elem p.pname coreDeps then [ ] else [ p.pname ]
p: if p == null || lib.elem p.pname coreDeps then [ ] else [ p.pname ]
) finalAttrs.passthru.dependencies;
dependencies =