Skip to content
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

Make it possible to wrapGApps without 4x wrapping #21

Merged
merged 3 commits into from
Jul 3, 2024

Conversation

C0D3-M4513R
Copy link
Contributor

@C0D3-M4513R C0D3-M4513R commented Jun 19, 2024

Also allows for more customization in the mkDerivation

This is a follow-up pr to #19 for implementing Col-E/Recaf#805

4x wrapping, because wrapGApps will wrap the original script and then the wrapper, which sets JavaHome.

I let myself be inspired by how nixos's buildPythonApplication/mkPythonDerivation works.

Also sadly it was nessesary for me to statically set dontWrapGApps=true.
That itself should not be an issue, since the gappsWrapperArgs do get applied as they should in postFixup.

Please note, that this change does not make it required to use wrapGAppsHook. It just makes it, so that everything works as best as possible, when it's specified.

Also allows for more customisation in the mkDerivation
Signed-off-by: C0D3 M4513R <[email protected]>
@C0D3-M4513R C0D3-M4513R force-pushed the main branch 2 times, most recently from 162a5cb to b55e648 Compare July 3, 2024 09:38
Signed-off-by: C0D3 M4513R <[email protected]>
@raphiz
Copy link
Owner

raphiz commented Jul 3, 2024

@C0D3-M4513R Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants