Skip to content

Commit 5269a1f

Browse files
committed
fix: respect manually set 'propagatedBuildInputs' for buildPythonPackage
1 parent f17b361 commit 5269a1f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,9 @@ rec {
206206
}));
207207
in
208208
py_final.pkgs."${func}" ( pass_args // {
209-
propagatedBuildInputs = result.select_pkgs py_final.pkgs;
209+
propagatedBuildInputs =
210+
(result.select_pkgs py_final.pkgs)
211+
++ (if hasAttr "propagatedBuildInputs" args then args.propagatedBuildInputs else []);
210212
src = src;
211213
inherit doCheck pname version;
212214
passthru = passthru // {

0 commit comments

Comments
 (0)