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
wrapQtAppsHook: wrap binaries in libexec #64720
Conversation
I've noticed with Mentioning because I'd think |
What happens when a |
Yes, environment variables are going to propagate to child processes and often they can be wrapped too. |
LGTM. This resolved the activitymanagerd failure I noted in #54525 (comment) However, the plasma 5 test is still failing. A different failure. Does not appear to be a regression caused by this change. Log: Not clear to me what failed this time. |
Can you run the test interactively and debug from there?
|
Running the test interactively everything works for me
|
Ok, after inspecting @ttuegel I was also looking at the wrapper make for
I'm almost certain those dependencies shouldn't be collected for the wrapper. |
This was preventing dolphin from being wrapped.
20f4905
to
4908d38
Compare
I've discovered that |
Thanks! I can confirm the test passes. I haven't tried running the driver interactively. If I get a chance I'll try it and see. |
@worldofpeace please remove the WIP label when it's not applicable. |
@ttuegel Was I'm thinking that the new issues I'm seeing are because of that happening. |
@worldofpeace |
We should still prevent things like scripts from being wrapped.
So with the latest commit, plasma5 test succeeds for me locally and interactively nothing seems wrong with the session. I'm going to merge this to master so the channels can get unblocked. |
7d6ab0a breaks Python scripts that use Qt5 because they don't get wrapped because of the |
I have patches in my nixpkgs that may impact this. Adding the issue I'm encountering here just in case it's actually related to this change. Plus, takes a while to build a variation. ;) Some QT apps, for instance QGIS and OpenSCAD, encounter an infinite recursion that has a stack trace like so:
Note the (This is the issue I mentioned running qt apps in #63829 .) |
I've reverted to |
Motivation for this change
See feedback at #54525 (comment).
This should be fine to do, it's already done in
wrapGAppsHook
.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)