New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qt5: install pkg_config files on darwin #35349
Conversation
Fixes NixOS#31685 This patch is applied in Homebrew here and looks to have worked for them: https://github.com/Homebrew/homebrew-core/blob/fafbdbd237ee87fb49b1080821e2597b38ff521c/Formula/qt.rb#L33-L44 I rewrote the patch to work in our src tree (got rid of qtbase/ prefix in files). Right now I am just applying the patch in 5.10 because I don’t have time to try these out on 5.6 or 5.9. Anyone who wants to can try it on those if they have time. This should be based off of staging and need to test in Hydra before we don’t have extra issues introduced.
@GrahamcOfBorg eval I think I fixed an issue here w.r.t. the darwin tag add / drop. |
@GrahamcOfBorg build qt510.qtbase |
Failure on x86_64-darwin (full log) Partial log (click to expand)
|
Failure on x86_64-linux (full log) Partial log (click to expand)
|
Success on aarch64-linux (full log) Partial log (click to expand)
|
@grahamc Do you know what's going on with @GrahamcOfBorg? It might just be too big for it to build. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Build also looks good
@LnL7 The pkg-config files are now installed in the installs- which is great. But I now realize that the headers are not being installed correctly in /include. Could you apply this small patch to this PR (alternatively I can open a new PR but hoping this will be easier especially onto staging). Branch: https://github.com/matthewbauer/nixpkgs/tree/qt5-darwin-pkgconfig-2 |
qt5: install pkg_config files on darwin (cherry picked from commit b4cf3f7)
Fixes #31685
This patch is applied in Homebrew here and looks to have worked for
them:
https://github.com/Homebrew/homebrew-core/blob/fafbdbd237ee87fb49b1080821e2597b38ff521c/Formula/qt.rb#L33-L44
I rewrote the patch to work in our src tree (got rid of qtbase/ prefix
in files).
Right now I am just applying the patch in 5.10 because I don’t have
time to try these out on 5.6 or 5.9. Anyone who wants to can try it on
those if they have time.
This should be based off of staging and need to test in Hydra before
we don’t have extra issues introduced.