Commit 42ba377b authored by Yueh-Shun Li's avatar Yueh-Shun Li
Browse files

python3Packages.buildPythonPackage: make passthru.{dependencies,build-system} overridable

parent 67d2a844
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -371,13 +371,13 @@ let
        pythonOutputDistHook
      ]
      ++ nativeBuildInputs
      ++ build-system;
      ++ getFinalPassthru "build-system";

      buildInputs = validatePythonMatches "buildInputs" (buildInputs ++ pythonPath);

      propagatedBuildInputs = validatePythonMatches "propagatedBuildInputs" (
        propagatedBuildInputs
        ++ dependencies
        ++ getFinalPassthru "dependencies"
        ++ [
          # we propagate python even for packages transformed with 'toPythonApplication'
          # this pollutes the PATH but avoids rebuilds