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
pavucontrol-qt: use libsForQt5.callPackage #31009
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.
AFAIK this is a correct change, but it would not have prevented you from having the issue you describe: qt5.callPackage
will ensure that your package does not depend on Qt 5.6 and Qt 5.9 simultaneously, but it will not help you when you install something that depends on Qt 5.9.1 with nix-env
, update the channel which is now on Qt 5.9.2, and perform nix-env -i pavucontrol-qt
.
I think |
pkgs/desktops/lxqt/default.nix
Outdated
@@ -45,7 +45,7 @@ let | |||
lxqt-qtplugin = callPackage ./core/lxqt-qtplugin { }; | |||
lxqt-session = callPackage ./core/lxqt-session { }; | |||
lxqt-sudo = callPackage ./core/lxqt-sudo { }; | |||
pavucontrol-qt = callPackage ./core/pavucontrol-qt { }; | |||
pavucontrol-qt = pkgs.qt5.callPackage ./core/pavucontrol-qt { }; |
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.
As mentioned by @yegortimoshenko, this should be:
libsForQt5.callPackage ./core/pavucontrol-qt { };
5028ac5
to
22329b8
Compare
@peterhoeg I have made the necessary change and rebased against the current master. @orivej @yegortimoshenko @peterhoeg thanks for the reviews! |
And it still builds and runs properly? |
@peterhoeg it seems that it uses the binary cache, so I suppose I suggest to keep it with |
22329b8
to
668c816
Compare
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've rebased this on top of 9258056
668c816
to
3363867
Compare
3363867
to
e18cdf0
Compare
Modified it a bit and rebased it, too, the new version which appeared today, works here! |
Thank you! |
Motivation for this change
I started using pavucontrol-qt on xmonad and noticed that it was pulling a previous version of Qt (5.9.1 instead of 5.9.2).
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)