python3Packages.lance-namespace: fix passthru test

`buildPythonPackage (finalAttrs: ...)` exposes the
`optional-dependencies` attribute under `finalAttrs.passthru`, not
`finalAttrs`.  Use the right attribute name in the passthru test to
fix the evaluation failure.
This commit is contained in:
Adam Dinwoodie
2026-10-09 14:06:33 +01:00
parent 39ad350a06
commit f2bee2fd57

View File

@@ -72,7 +72,7 @@ buildPythonPackage (finalAttrs: {
pylance
pytestCheckHook
]
++ lib.concatAttrValues finalAttrs.optional-dependencies;
++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies;
# Tests require pylance, which is a circular dependency
doCheck = false;