I’ve had nix on all my machines for a while, and I’ve even had nix on this machine.
I’ll list the things I’ve tried at the bottom, but this image is a good summary of all attempts
- I hit a weird bug of saying its out of storage even though there was >8Gb left.
- I decided to reinstall nix to try and fix the problem
- For Linux I have a very comprehensive uninstall script (users/groups/services/files/processes)
- I run it every time, and I also clear all ENV vars related to nix before trying a fresh install
- I’ve installed
- Multi user
- Single user (2.4)
- Single user (2.38)
- A dockerized version
All of them result in strange and very similar issues. Sometimes nix-env -i cowsay
will be killed by the system (as in Killed
is the only thing printed), sometimes it noisily runs out of ram, and last it will sometimes give me the original error where it gets to the build stage and then says there’s no-space available despite the server having 8.6Gb of free storage. The docker container gets repeated “GC Warning” issues during the installation phase.
I installed nix on this machine at least a year ago, and I have no idea what’s causing it to suddently fail. I’ve power cycled, killed/stopped all non-system-vital processes and services, and purged every reminant of nix from the machine. Has any one hit similar issues recently?