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

Home-Manager Version Mismatch Error with Flakes #380

Open CaptainLexington opened 1 week ago

CaptainLexington commented 1 week 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 1 week ago

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