minus-squarehighbank@lemmy.zipOPtoNix / NixOS@programming.dev•Is there any way to find out how much data can be cleared by executing 'nix-collect-garbage -d' without actually executing it?linkfedilinkEnglisharrow-up2·5 months ago‘nix-store --gc --print-dead’ does that already and ‘nix-collect-garbage --dry-run’ prints only the number of paths that will be deleted and does not display the correct size of it either. I had tried it and it won’t work here. linkfedilink
highbank@lemmy.zip to Nix / NixOS@programming.devEnglish · edit-25 months agoIs there any way to find out how much data can be cleared by executing 'nix-collect-garbage -d' without actually executing it?plus-squaremessage-squaremessage-square3linkfedilinkarrow-up112arrow-down10
arrow-up112arrow-down1message-squareIs there any way to find out how much data can be cleared by executing 'nix-collect-garbage -d' without actually executing it?plus-squarehighbank@lemmy.zip to Nix / NixOS@programming.devEnglish · edit-25 months agomessage-square3linkfedilink
‘nix-store --gc --print-dead’ does that already and ‘nix-collect-garbage --dry-run’ prints only the number of paths that will be deleted and does not display the correct size of it either. I had tried it and it won’t work here.