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: 5.10 -> 5.11 #41095
qt5: 5.10 -> 5.11 #41095
Conversation
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.
The darwin patch don't apply anymore.
Ohh -.- I did not realized that there are Darwin exclusive patches... I'm on it ^^ |
Yeah, I moved them to a separate patch file since they got lost a bunch of times with the update workflow. Let me know if I should look at it, it's just getting rid of CF template types since that's not supported in 10.10 yet. |
@LnL7 I updated the darwin patch as well, so it would be nice if you could test it. |
@LnL7 ping. |
Sorry I've been preoccupied with fallout from the staging merge. Looks like this needs a bit more work tho, here's the log if somebody else has time otherwise I'll try to look at it next week. https://gist.github.com/LnL7/55082fa49f2c83eb164ca1ea2be34858 |
Related: #41483 |
@LnL7 does it now work on Mac Os? |
Yeah, everything except for qtwebkit and qtwebengine work now. Upstream removed support for 10.10 so it became even more painful to fix. 😕 Anything else that should be done? |
Do we need qtwebengine/qtwebkit for Mac OS? |
@bkchr Those where broken before so this is good to go for darwin, but looks an evaluation issue was introduced in the mean time. We can't upgrade the sdk like we normally would because apple still has not opensourced one of the core components for 10.11, so that requires overhauling part of the stdenv an introduces another impurity which we've been trying to avoid until now. |
@LnL7 thank you for pushing your patches again. I did not thought, before pushing my fixes.. |
It's git, nothing is ever really lost. 😄 |
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.
I can merge this, but I'd prefer it if somebody who knows more about qt also takes a look.
This is the first time since 5.9 that we also update `qtwebkit`. `qtwebkit` is not maintained by Qt anymore and thus, we switch to the community port as for example arch has done. To prevent pulling in single patches, we just stick to the latest git version.
This update fixes also the compilation with Qt 5.11.
We use MACOSX_DEPLOYMENT_TARGET=10.10 in nixpkgs and some darwin packages like CoreFoundation are based on the 10.10 sources from opensource.apple.com.
@@ -11307,10 +11307,10 @@ with pkgs; | |||
|
|||
libsForQt59 = lib.makeScope qt59.newScope mkLibsForQt5; | |||
|
|||
qt510 = recurseIntoAttrs (makeOverridable | |||
(import ../development/libraries/qt-5/5.10) { | |||
qt511 = recurseIntoAttrs (makeOverridable |
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.
If we remove each minor Qt version on each update, it doesn't seem there is much sense in keeping unstable attribute for that around.
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.
Which unstable attribute? But we just remove none Lts versions. I think that is enough to have Lts and latest stable.
This update broke LyX: #42124. |
I don't know who "we" refers to in this scenario, but as a Nix-on-Darwin user at work, I need qtwebkit to build capybara-webkit, which we use for running headless integration/acceptance tests on our web app. So personally I'd welcome it if this can be made to work |
Motivation for this change
@ttuegel @adisbladis @peterhoeg
@LnL7 could you try this on Mac Os?
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)