nix-community/nix-on-droid

24.05

Sepero opened this issue · 7 comments

What needs to be done to get 24.05?

Several things, help is welcome.

And if you meant "what needs to be done to get nixpkgs 24.05", then just install 23.11, switch channels or flake inputs to nixpkgs 24.05 and update. It's not tested by me yet, but it should work.

And if you meant "what needs to be done to get nixpkgs 24.05", then just install 23.11, switch channels or flake inputs to nixpkgs 24.05 and update. It's not tested by me yet, but it should work.

It does work fine, the only issue I encountered is with home-manager (used separately, no as a module) having collision with programs such as bash and nix, workaround is settings different priorities for nix-on-droid-path or home-manager-path within your nix profile:

  1. Remove your home-manager "package", with nix-env --uninstall home-manager-path
  2. Update nix-on-droid as usual
  3. Change nix-on-droid priority with nix-env --set-flag priority 10 nix-on-droid-path, any priority value would suffice I think, it just has to be something that is not default (and idk what the default is as it is empty by default)
  4. Reinstall home-manager however you like

After every nix-on-droid update priorities reset, idk how to work around that, I personally use home-manager for everything and almost never touch nix-on-droid, so not that big of a deal for me

just install 23.11, switch channels or flake inputs to nixpkgs 24.05 and update. It's not tested by me yet, but it should work.

I'm confused, because this is exactly what I did and found out 24.05 doesn't exist? Perhaps you meant testing branch? I'm using flakes. I appreciate everything you're doing on this project.

https://github.com/nix-community/nix-on-droid/tree/release-23.11

https://github.com/nix-community/nix-on-droid/tree/release-24.05

switch channels or flake inputs to nixpkgs 24.05

this is exactly what I did and found out 24.05 doesn't exist?

Yes, the branch doesn't exist yet. "Switch channels or flake inputs to 24.05 for everything but nix-on-droid", that is. Could be nixpkgs (named nixpkgs or nixos), could be home-manager or something else you might be using. Basically, proceed with upgrading everything, but hold nix-on-droid back.

release-24.05 is here. Make sure to check out the new android-integration options.

573 commented

Wow, this is absolutely mind-blowing what you achieved here, emulator tests, android system integration, only to name a few.

Can't wait to update my flake, thank you to all involved !