nix-community / nix-on-droid

Nix-enabled environment for your Android device. [maintainers=@t184256,@Gerschtli]
https://nix-on-droid.unboiled.info
MIT License
1.15k stars 65 forks source link

Update to 24.05 #372

Open taranarmo opened 3 weeks ago

taranarmo commented 3 weeks ago

Following the update to 23.11 I updated the inputs and copyrights to 24.05 as it is considered stable now. Also in current version nixpkgs docs input is still at 23.05, fix for that also included

t184256 commented 3 weeks ago

Thanks for taking the time to look into this. Unfortunately, that might be just one piece of the whole 24.05 puzzle:

  1. be783dd251 you've linked to is just one commit out of https://github.com/nix-community/nix-on-droid/pull/336, reading that one and also https://github.com/nix-community/nix-on-droid/projects/8 should help piece together the bigger picture of what it entails.
  2. 24.05 release might be run significantly late this time because I have several ambitious things planned for this release:

    a. make use of the am-powered integrations (sounds like a low-hanging fruit at this point, see the comments #133) b. figure out DNS at last (#2, still sounds hard to me, cause turns out I'm bad with writing NSS plugins) c. CI needs to be fixed. I gave up on figuring out what's wrong with downloads stalling under fakedroid, so I'm afraid I'll explore running a proper Android emulator instead

So, I was planning to do the regular release preparations after completing 2-3 of these. Though if you're not afraid of rebasing later, you can prepare a PR now and rebase it later.

Also in current version nixpkgs docs input is still at 23.05, fix for that also included

And do the docs build fine with the new version?

taranarmo commented 3 weeks ago

Okay, I see.

  1. I will read, thanks for the links. Don't know why I didn't do that prior.
  2. I can try playing with CI, I wanted to get more experience in it.

Yeah, rebasing is possible. Shouldn't be too hard.

I tried to fix the docs input in current version (by linking it to my fork) and no warning or errors were faced. Though now flake based configuration throws warning that home manager is at 24.05 while its input is at 23.11 :)

t184256 commented 2 weeks ago

As a first stepping stone towards a release, #379 should greatly rework our CI; that'd be one important point to rebase onto.

taranarmo commented 2 weeks ago

I successfully rebased my branch on emulator-powered-ci

t184256 commented 2 weeks ago

Good, now you can see what fails to build.

The first obstacle on the way to nix build ".#aarch64.bootstrapZip" is the patches to nixpkgs I had to apply last release: compiler-rt.patch and libunwind.patch. Hope the issues they have worked around have resolved themselves and the patches can be just dropped; otherwise, they'll have to be updated for new nixpkgs.