Hello!
I've just tried to use any nixos (and nix) command and got:
```
> nix-env -q
error: getting status of ‘/nix/var/nix/profiles/per-user/root/P �P�b�
’: No such file or directory
> sudo nixos-rebuild switch
error: getting status of ‘/nix/var/nix/profiles/per-user/root/��$�� � �h�
’: No
I don't know that happened but the solution is:
```
cd /nix/var/nix/profiles/per-user/root
rm -rf channels
cp -r channel--link channel # please note, that `ln` did't work
nixos-rebuild switch
```
2015-09-10 2:15 GMT+03:00 Arseniy Seroka :
> Hello!
> I've just tried to use
It looks a bit like a filesystem corruption - make sure to run fsck on it (or
scrub it, if it's btrfs)
Dnia 10 września 2015 01:31:20 CEST, Arseniy Seroka
napisał(a):
>I don't know that happened but the solution is:
>```
>cd /nix/var/nix/profiles/per-user/root
>rm -rf