Re: [Nix-dev] How to delete old generations and GC them, without GCing anything else?

2016-03-07 Thread Matthias Beyer
Well it seems that making shell environments persistent is a more valuable idea... Thanks for your input, though! On 06-03-2016 16:34:16, Vladimír Čunát wrote: > On 03/06/2016 02:14 PM, Kosyrev Serge wrote: > > Vladimír Čunát writes: > >> On 03/06/2016 01:10 PM, Matthias Beyer

Re: [Nix-dev] How to delete old generations and GC them, without GCing anything else?

2016-03-06 Thread Vladimír Čunát
On 03/06/2016 02:14 PM, Kosyrev Serge wrote: > Vladimír Čunát writes: >> 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

Re: [Nix-dev] How to delete old generations and GC them, without GCing anything else?

2016-03-06 Thread Vladimír Čunát
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`

[Nix-dev] How to delete old generations and GC them, without GCing anything else?

2016-03-06 Thread Matthias Beyer
Hi, I want to remove old system generations and GC the packages, _without_ removing anything else but these generations and their packages. How to do this? -- Mit freundlichen Grüßen, Kind regards, Matthias Beyer Proudly sent with mutt. Happily signed with gnupg. signature.asc Description: