nix-community/nix-on-droid

upgrade to 24.05 break everything

pinage404 opened this issue · 4 comments

Hello,

i tried to upgrade nixpkgs from 23.11 to 24.11

direnv automatically reloaded the environnement

now, i can do nothing, typing on the keyboard does nothing

i tried to relaunch the app

i tried to start new terminals, but i always have the same message

Screenshot_20240602-131434
Screenshot_20240602-131536

How to fix it ?

Maybe i will reinstall the app

It seems something regarding the login shell changed. Currently nix-on-droid is not tested/adapted for 24.05 yet.

As a quick fix, you can change the login-inner file mentioned in the error message via failsafe shell to point to the actual fish shell binary.

nano, vim & vi seem not present

How to change the login-inner ?

Screenshot_20240604-002930

@pinage404, you need to create a failsafe session, probably you may follow instructions from Termux wiki

i managed to open a failsafe session

without vim nor nano, i couldn't find a way to repair the file

i didn't want to (re)move a file that i don't know how it is generated / managed, because i don't know how fix afterwards

i removed all the data of the app then reinstalled the app