fix: respect manually set 'propagatedBuildInputs' for buildPythonPackage

This commit is contained in:
DavHau 2020-09-20 16:59:17 +07:00
parent f17b361603
commit 5269a1f4eb

View file

@ -206,7 +206,9 @@ rec {
}));
in
py_final.pkgs."${func}" ( pass_args // {
propagatedBuildInputs = result.select_pkgs py_final.pkgs;
propagatedBuildInputs =
(result.select_pkgs py_final.pkgs)
++ (if hasAttr "propagatedBuildInputs" args then args.propagatedBuildInputs else []);
src = src;
inherit doCheck pname version;
passthru = passthru // {