I found an old laptop with NixOS 17 on it. I’d like to upgrade it to the latest version, but every nix command I issue, gives me a “cannot execute binary file” message. Any ideas?
I might be a vague advice, I solved this by preparing a system closure on another machine,
rsync it to the target and run
That turns even other Linux’es to NixOS
Do you have any reason to believe the Nix commands have been compiled for the wrong platform? Seems unlikely, but that is a common source for that error message.