Prints doubled after installing nixFlakes package


I’m using NixOS unstable and after installing the nixFlakes package with nix-env commands that involve building packages like nix-shell show doubled printed lines. Do anyone knows of to fix this or any way to find what the culprit may be? Some informations about the installed Nix:

$ nix --version
nix (Nix) 2.4pre20201102_550e11f

$ nix doctor
warning: unknown setting 'extra-sandbox-paths'
Running checks against store uri: daemon
[FAIL] Multiple versions of nix found in PATH:

[PASS] All profiles are gcroots.
[FAIL] Warning: protocol version of this client does not match the store.
While this is not necessarily a problem it's recommended to keep the client in
sync with the daemon.

Client protocol: 1.26
Store protocol: 1.21

I’m having this issue too. Did you manage to resolve it?

I managed to fix this by adding the following line to my /etc/nixos/configuration.nix:

nix.package = pkgs.nixUnstable
1 Like