[Nix-dev] How to delete old generations and GC them, without GCing anything else?
Vladimír Čunát
vcunat at gmail.com
Sun Mar 6 13:58:33 CET 2016
On 03/06/2016 01:10 PM, Matthias Beyer wrote:
> I want to remove old system generations and GC the packages, _without_ removing
> anything else but these generations and their packages.
I would `nix-store --gc --print-dead` before and after deleting the
generations, and then I would use `comm` to compute the difference and
remove it by `nix-store --gc --delete`.
That is, if I understood your intention correctly. It seems an unusual
thing to want.
--Vladimir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3771 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160306/c1ec8ded/attachment.bin
More information about the nix-dev
mailing list