I’ve been trying to figure out if it’s possible to build our app - Status.im - for F-Droid in this GitHub issue:
And I’m having some serious issues trying to get anything to work. So I’m just going to ask here in case what I’m trying to do is actually impossible with F-Droid.
My understanding is that F-Droid is opinionated about how to run Gradle, and wants to run it itself, to build the APK. That does not seem compatible with how we build our app, which is using the Nix Package Manager.
Nix is a package manager that can be installed on top of any Linux OS and puts its files under
/nix and requires
root permissions to be installed.
The way we build it is via Nix derivation, that you can find the exact place where we run Gradle here:
The way that is called is for example via the
release-android target in our
Which in turn runs a script that calls Nix:
The crucial question is:
Can this process be ported as-is to F-Droid? Or does F-Droid have to run Gradle itself?