Repository navigation
modrinth-app: fix build - #542808
modrinth-app: fix build#542808
Conversation
|
db5ae25 to
714153f
Compare
|
SGTM at a first glance. |
|
symlinkJoin does not run the regular phases here, so preFixup doesn't run. The build will then turn green, but it will remain unwrapped. On release-26.05, the working wrapper would be replaced. |
714153f to
caad451
Compare
That's fun, this behavior doesn't seem to be documented at all. Had to dive into the source to confirm. I'll revert this idea and switch this over to @Hythera's idea, as it appears to work just fine. Unfortunate that we still have to manually execute these hooks, but it is what it is. |
Run `wrapGApp` on executable rather than `wrapGAppsHook` to prevent future build failures due to hook changes
caad451 to
183da97
Compare
Yes. That is funny. It's good that it was found before the backport. |
:( 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.
|
Tested at eveeifyeve/nix-config@98f54dc |
|
Successfully created backport PR for |
Run
wrapGAppon executable rather thanwrapGAppsHookto prevent future build failures due to hook changes.Recent changes to how
wrapGAppsHookis run broke the build. SincesymlinkJoindoesn't run the conventional derivation hooks, the documented convention of appendinggappsWrapperArgsduring thepreFixphase is impossible, we must override thepostBuildphase regardless.More testing to make sure this doesn't break GTK/non-GTK setups would be appreciated. It appears to work as expected on my machine.
Closes #541756
Closes #541942 (superseded)
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.