nix
nix copied to clipboard
problem with reinstalling nix-2.19.3
I had nix os installed on Debian.
When reinstalling the new version of nix (2.10.3) i ran in the following problem:
~~> Setting up the default profile
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo HOME=/root /nix/store/3af6g226v4hsv6x7xzh23d6wqyq0nzjp-nix-2.10.3/bin/nix-env -i /nix/store/3af6g226v4hsv6x7xzh23d6wqyq0nzjp-nix-2.10.3
to install a bootstrapping Nix in to the default profile
installing 'nix-2.10.3'
error: opening file '/nix/store/2qawmpmq2ly5phhygsf7iqprirlx4pk2-user-environment.drv': No such file or directory
---- oh no! --------------------------------------------------------------------
Jeeze, something went wrong. If you can take all the output and open
an issue, we'd love to fix the problem so nobody else has this issue.
:(
We'd love to help if you need it.
I think this might be causes by deleting the /nix/store directory.
How can i make a new clean installation of nix on this machine?
How can i make a new clean installation of nix on this machine?
Did you follow the full uninstall instructions (https://nixos.org/manual/nix/stable/installation/installing-binary.html#linux), or just delete /nix/store?