From 67d2a84468c7d2952cb03d4462386bb44a22e8bc Mon Sep 17 00:00:00 2001 From: Yueh-Shun Li Date: Mon, 27 Jan 2025 01:07:30 +0800 Subject: [PATCH] python3Packages.buildPythonPackage: pass passthru.dependencies empty or not --- .../interpreters/python/mk-python-derivation.nix | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/pkgs/development/interpreters/python/mk-python-derivation.nix b/pkgs/development/interpreters/python/mk-python-derivation.nix index b79d5325a4f3..6b4db7c9a273 100644 --- a/pkgs/development/interpreters/python/mk-python-derivation.nix +++ b/pkgs/development/interpreters/python/mk-python-derivation.nix @@ -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 = {