Skip to content
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

libv4l: disable building Qt #67134

Merged
merged 1 commit into from Aug 21, 2019
Merged

Conversation

jtojnar
Copy link
Contributor

@jtojnar jtojnar commented Aug 20, 2019

Since we added wrapQTAppHooks to qt5.mkDerivation, it pollutes the closure of everything it touches even when package is not building with QT support.

@worldofpeace
Copy link
Contributor

Hmm, this is an interesting topic. When there's optional qt features I'd expect people to add wrapQtAppsHook manually and to not use qt5.mkDerivation.

@jtojnar jtojnar changed the title qt5.mkDerivation: allow disabling hook insertion libv4l: disable building Qt Aug 20, 2019
Copy link
Contributor

@worldofpeace worldofpeace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should work as intended.

pkgs/os-specific/linux/v4l-utils/default.nix Outdated Show resolved Hide resolved
Since we added wrapQTAppHooks to qt5.mkDerivation, it pollutes the closure
of everything it touches even when package is not building with Qt support.
We had to revert to the standard deriver to avoid this.
@worldofpeace
Copy link
Contributor

worldofpeace commented Aug 21, 2019

Huh, this is only 101-500 rebuilds according to ofborg. Should we go to master?

@jtojnar
Copy link
Contributor Author

jtojnar commented Aug 21, 2019

There would be a merge conflict.

@worldofpeace
Copy link
Contributor

Ah, merging then.

@worldofpeace worldofpeace merged commit e6e03ba into NixOS:staging Aug 21, 2019
@jtojnar jtojnar deleted the origin/staging branch August 21, 2019 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants