Commit 67d2a844 authored by Yueh-Shun Li's avatar Yueh-Shun Li
Browse files

python3Packages.buildPythonPackage: pass passthru.dependencies empty or not

parent e2f75c6f
Loading
Loading
Loading
Loading
+3 −9
Original line number Diff line number Diff line
@@ -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 = {