[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What prevents "guix package --profile" profiles from being gc'ed?
From: |
Alex Kost |
Subject: |
Re: What prevents "guix package --profile" profiles from being gc'ed? |
Date: |
Thu, 25 Feb 2016 14:10:02 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
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".
--
Alex