Cleaning the nix store

From NixOS Wiki
Revision as of 14:49, 27 August 2020 by Mic92 (talk | contribs)
Jump to: navigation, search

Sometimes your store fills up the disk, but a simple

nix-store --gc

does not seem to clean all that much.

This usually means that you have some garbage collection roots that keep old versions of nixpkgs around.

There is multiple tools that can help with discovering these gc roots: