weblate: make pythonRelaxDeps more robust

(cherry picked from commit d6caed0ac6)
This commit is contained in:
Robert Schütz
2026-06-15 15:12:16 -07:00
committed by Kerstin Humm
parent 2db122599b
commit bb245a0d50

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 =