[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What prevents "guix package --profile" profiles from being gc'ed?
From: |
Christopher Allan Webber |
Subject: |
Re: What prevents "guix package --profile" profiles from being gc'ed? |
Date: |
Thu, 25 Feb 2016 09:03:41 -0800 |
User-agent: |
mu4e 0.9.13; emacs 24.5.1 |
Alex Kost writes:
> Christopher Allan Webber (2016-02-25 03:30 +0300) wrote:
>
>> Heya all,
>>
>> I'm a bit confused about profile management for profiles that *aren't*
>> your system or default user profile.
>>
>> guix package --profile=/home/cwebber/guix-profiles/test -i hello
>>
>> then I run "guix gc", it seems like that profile is still kept around.
>>
>> David seemed to think that maybe the profile link would be under
>> /var/guix/profiles/
> [...]
>> What's keeping that profile around? Will it ever get gc'ed? Is it
>> somehow recorded in Guix's state files?
>
> Look at /var/guix/gcroots/auto/. If you remove old generations, they
> will be removed from gcroots/auto next time you run "guix gc".
Cool... okay! So when I delete that profile directory it does
appropriately gc things. Very neat!