python3Packages.buildPythonPackage: pass passthru.dependencies empty or not

This commit is contained in:
Yueh-Shun Li
2025-09-29 01:55:05 +08:00
parent e2f75c6f5e
commit 67d2a84468
@@ -415,20 +415,14 @@ let
inherit
disabled
pyproject
build-system
dependencies
optional-dependencies
;
}
// {
updateScript = nix-update-script { };
}
// optionalAttrs (dependencies != [ ]) {
inherit dependencies;
}
// optionalAttrs (optional-dependencies != { }) {
inherit optional-dependencies;
}
// optionalAttrs (build-system != [ ]) {
inherit build-system;
}
// attrs.passthru or { };
meta = {