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
evtest-qt: use qt5's mkDerivation #67614
Conversation
@peterhoeg @ttuegel as you both seem to know what's going on with qt apps. Do either of you know why I can't get this to run with sudo? I get the following error,
Adding wrapQtAppsHook does not seem to work. The program works fine when not ran through root |
I have no issues with sudo and this PR. |
Do you use wayland @alexarice? |
yes, I thought this could be the problem, can root not connect to wayland? |
Indeed, I believe that is the cause of your issue. |
I've only ever used this to check controller input, and I can see that without root. Is it something that is fixable/ worth trying to fix? |
I'm pretty sure with wayland it's impossible and un-allowed. |
fair enough, the fix in this pr still needs to go through as the program doesn't run at all without it |
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.
LGTM, I verified the binary was wrapped and executed it without a runtime error.
7800ed9
to
fe21373
Compare
Thanks for the quick merge |
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @