python3Packages.buildPythonPackage: pass passthru.dependencies empty or not
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user