Repository navigation
wrapGAppsHook: only wrap out/$outputBin by default - #526688
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
can confirm this fixes #526575, and does so much more elegantly :)
Thanks!
Update: managed to build up to nixosTests.gnome with this
318aaef to
9db7762
Compare
This comment was marked as outdated.
This comment was marked as outdated.
9db7762 to
1f5c425
Compare
1f5c425 to
8212240
Compare
|
This should also allow #479011 to be reverted. That package has |
Depends on NixOS#526688 The GApps wrapper would try to wrap executables in "debug" instead of "out", this should be fixed with that PR.
8212240 to
14b1609
Compare
|
Changed the preparation function to a direct function call. Tested via |
|
Lost my documentation update somewhere in the process of rebasing and cherry-picking - re-added it as a separate commit. EDIT: Also added better handling of the new |
a55a048 to
06ac5b3
Compare
|
Now also tested it as-is (on top of staging) with |
| wrapProgram "$program" "${gappsWrapperArgs[@]}" "$@" | ||
| } | ||
|
|
||
| _wrapGAppsHookMayRunForOutput() { |
There was a problem hiding this comment.
This should take an argument rather than being dynamically scoped. Took me a moment to figure out what the heck it is doing;
| _wrapGAppsHookMayRunForOutput() { | |
| _wrapGAppsHookMayRunForOutput() { | |
| local -r output="$1" |
There was a problem hiding this comment.
Done. Also added a comment to reduce confusion about where the $output in wrapGAppsHook comes from (and it is passed to _wrapGAppsHookMayRunForOutput now).
06ac5b3 to
5767290
Compare
Depends on NixOS#526688 The GApps wrapper would try to wrap executables in "debug" instead of "out", this should be fixed with that PR.
Depends on NixOS#526688 The GApps wrapper would try to wrap executables in "debug" instead of "out", this should be fixed with that PR.
|
Can we backport this via staging-next-26.05? It apparently fixes GTK theming on Firefox with structured attrs enabled. |
:( I wish this was fixed... I guess the modrinth package in nixpkgs took success at all costs. I blame NixOS/nixpkgs#526688 for that. I could choose to use NixOS/nixpkgs#542808 but I won't because it could change at anytime.
|
Successfully created backport PR for |
Followup to #511330, fixes #526575 .
@jtojnar I'll look into adding some tests later. Do you like this direction though?
I also stumbled upon #247926 - is this worth adding as well?
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.