pythonPackages.sip: do not build tools for non-default sip module#52968
pythonPackages.sip: do not build tools for non-default sip module#52968orivej wants to merge 1 commit intoNixOS:masterfrom
Conversation
This ensures that the default sip and alternative sips do not have common files.
| outputs = [ "out" "dev" ]; | ||
|
|
||
| nativeBuildInputs = [ pkgconfig qmake lndir ]; | ||
| nativeBuildInputs = [ pkgconfig qmake lndir sip ]; |
There was a problem hiding this comment.
No, it seems that the upstream envisions that there is one tool sip which generates multiple modules according to sip -n module_name parameter. This is why sip-the-tool is a native build input, and pyqt5-sip-module is a propagated build input.
After this PR sip ships both the tool and the module sip (as before), but pyqt5-sip ships only the module PyQt5.sip.
There was a problem hiding this comment.
Ok. Could you include the explanation as a comment?
|
Are there any updates on this pull request, please? |
|
I should have seen this when working on the |
|
Thank you for your contributions.
|
|
Would this change be relevant if sip will be upgraded? #99936 |
|
rebased in #100050. |
Motivation for this change
This ensures that the default sip and alternative sips do not have any files in common: #52956 (comment)
Things done
sandboxinnix.confon non-NixOS)nix-shell -p nox --run "nox-review wip"./result/bin/)nix path-info -Sbefore and after)