How to remove old system generations?

Strange. Run nix-store --query --roots /nix/store/... on any path to see what’s keeping it alive. They must be referred to by some root or else the GC would have worked.

5 Likes