(cherry picked from commit a0de58f471)
a0de58f471
This replaces "nix-store --optimise". Main difference is that it has a progress indicator.