nix-community / nix-on-droid

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

Home-Manager Version Mismatch Error with Flakes #380

Closed CaptainLexington closed 2 months ago

CaptainLexington commented 4 months ago

With a fresh install of 23.11, adding home-manager as a source pinned at release-23.11, building with home.nix and home.stateVersion = 23.11 produces the following output:

bash-5.2$ nix-on-droid switch --flake .
Building activation package...
trace: warning: You are using

  Home Manager version 24.05 and
  Nixpkgs version 23.11.

Using mismatched versions is likely to cause errors and unexpected
behavior. It is therefore highly recommended to use a release of Home
Manager that corresponds with your chosen release of Nixpkgs.
Gerschtli commented 4 months ago

Please post your flake.nix file in order to allow me to help you debug :)

CaptainLexington commented 2 months ago

Sorry about a looong delay! Unfortunately I decided to go back to using Termux for now. I'll close this. Thank you!