weblate: make pythonRelaxDeps more robust

This commit is contained in:
Robert Schütz 2026-06-15 15:12:16 -07:00
commit d6caed0ac6

View file

@ -111,7 +111,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
];
in
lib.concatMap (
p: if p == null || lib.elem p.pname coreDeps then [ ] else [ p.pname ]
p: if !p ? "pname" || lib.elem p.pname coreDeps then [ ] else [ p.pname ]
) finalAttrs.passthru.dependencies;
dependencies =