Open coretemp opened 6 years ago
This happens to me when the running 'nix-daemon' is still on 1.11 but your local user is on 2.0.
Try running this to get your daemon version:
sudo su root -c 'nix-daemon --version'
If it's on 2.0pre5889_c287d731 and you still get this error try restarting your nix-daemon service (or just restarting the computer).
That said, Nix should have a better way of handling this especially with lots of people upgrade from Nix 1.11 to Nix 2.0. Maybe the "nix" CLI should check the nix-daemon version before running?
/cc @edolstra
Nix CLI should definitely check the nix-daemon version and link to documentation explaining what to do including a discussion of whether it's actually advisable to upgrade the daemon (probably not).
It looks like it does - it's just not been updated recently:
Just hit this, what is the protocol version now?
@puffnfresh It's set at 0x114 right now. I wonder if just bumping this will fix it.
Well, we kind of don't want it to just break (because we want people to be testing Nix 2.0 right now and multi-user systems are the default on macOS), right? They are mostly compatible, but break here. The usual version check seems too pessimistic.
It's fine to not bump it now- I just think it should be bumped before 2.0 is released. Otherwise people on multi-user setups will have issues when updating.
I marked this as stale due to inactivity. → More info
On the mailinglist, I saw someone use this command, but it fails for me:
The error is also not actionable. Where do I get said signature? Please link to documentation in the output.