I don't know that happened but the solution is: ``` cd /nix/var/nix/profiles/per-user/root rm -rf channels cp -r channel-<last_number>-link channel # please note, that `ln` did't work nixos-rebuild switch ```
2015-09-10 2:15 GMT+03:00 Arseniy Seroka <ars.ser...@gmail.com>: > 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 such file or directory > building Nix... > error: reading from file: Is a directory > error: getting status of ‘/nix/var/nix/profiles/per-user/root/0��s� �5mq > ’: No such file or directory > error: getting status of ‘/nix/var/nix/profiles/per-user/root/ �Sn� ��c�� > ’: No such file or directory > /tmp/nixos-rebuild.D4PZ5o/nix > �� ’: No such file or directoryvar/nix/profiles/per-user/root/P���� �@ > building the system configuration... > error: getting status of ‘/nix/var/nix/profiles/per-user/root/�Yw� ����� > ’: No such file or directory > ``` > Did `sudo nix-store --verify --check-contents --repair` and everything is > ok. > My nixos.version is `16.03pre68239.bd84eba (Dingo).` > > What's that? And how to fix it? > Yesterday I could make a rebuild successfully.. > > -- > Sincerely, > Arseniy Seroka > -- Sincerely, Arseniy Seroka
_______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev