Skip to content

Add a workaround for usage on Android #104

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

Closed
wants to merge 3 commits into from
Closed

Conversation

erplsf
Copy link

@erplsf erplsf commented Jul 5, 2025

Greetings,

getentropy doesn't exist on Android, so when building on Android, we need to have a workaround: termux/termux-packages#25265

@phadej
Copy link
Collaborator

phadej commented Jul 5, 2025

Sorry. But considering the few recent issues. I'm officially not supporting Android. Android is not not on https://gitlab.haskell.org/ghc/ghc/-/wikis/platforms, I don't know how to test on Android (and I'm quite sure it won't be simple enough if I could). So when preferring of which patches to accept adding support to something not regularly tested, I'd rather select say OpenBSD: which is in direct conflict with Android. Perfectly you'd need to test on all archs/oses to get CPP conditionals right.

@phadej phadej closed this Jul 5, 2025
@erplsf
Copy link
Author

erplsf commented Jul 5, 2025

Could then you maybe suggest how I can apply this as a patch for my own need through Cabal? I understand/respect your decision, but I'm not that well versed in Haskell ecosystem to figure this part out myself.

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