Skip to content

modrinth-app: fix build - #541942

Closed
geri1701 wants to merge 1 commit into
NixOS:masterfrom
geri1701:modrinth-app-fix-wrap-gapps
Closed

geri1701 wants to merge 1 commit into
NixOS:masterfrom
geri1701:modrinth-app-fix-wrap-gapps

Conversation

@geri1701

@geri1701 geri1701 commented Jul 14, 2026 •

Copy link
Copy Markdown
Member

Create the ModrinthApp wrapper explicitly with the generated GApps arguments from symlinkJoin's postBuild. Since symlinkJoin does not run the regular fixup phases, this avoids invoking wrapGAppsHook manually and fixes the build after the hook began tracking runs per output.

Closes #541756

Assisted-by: pi coding agent / Mika (OpenAI gpt-5.6-sol)

Things done

@nixpkgs-ci
nixpkgs-ci Bot requested review from Hythera, encode42 and getchoo July 14, 2026 21:02
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Jul 14, 2026
@encode42 encode42 mentioned this pull request Jul 17, 2026
5 of 13 tasks
@encode42

Copy link
Copy Markdown
Member

Thanks for looking into this! While this change does appear to work as expected, I believe that more can be done to prevent this from happening again in the future, outlined in #542808.

Wrap ModrinthApp explicitly with the generated GApps arguments from
symlinkJoin's postBuild, which does not run the regular fixup phases.

Assisted-by: pi coding agent / Mika (OpenAI gpt-5.6-sol)
@geri1701
geri1701 force-pushed the modrinth-app-fix-wrap-gapps branch from eb58224 to aa2a86b Compare July 17, 2026 06:58
@geri1701

geri1701 commented Jul 17, 2026 •

Copy link
Copy Markdown
Member Author

Thanks for the suggestion. I've updated this PR to avoid calling wrapGAppsHook directly. Since symlinkJoin does not run the regular fixup phases, it now wraps ModrinthApp explicitly in postBuild using gappsWrapperArgs.

Assisted-by: pi coding agent / Mika (OpenAI gpt-5.6-sol)

@Sigmanificient Sigmanificient added the llm-assisted Contributions that include code generation with LLMs label Jul 17, 2026
@niklaskorz

Copy link
Copy Markdown
Member

@geri1701 Do you have an agent automatically respond for you to the PR feedback or are you reviewing the feedback yourself?

@geri1701

Copy link
Copy Markdown
Member Author

@geri1701 Do you have an agent automatically respond for you to the PR feedback or are you reviewing the feedback yourself?

no, nothing is fully automatic here. I'm good at reading and understanding, my english is
just so bad that it's best for everyone if I have my agent in between. I read and check completely myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. llm-assisted Contributions that include code generation with LLMs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build failure: modrinth-app

4 participants