From mboxrd@z Thu Jan 1 00:00:00 1970 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 Message-ID: <87bn74g1t0.fsf@dustycloud.org> References: <87si0hr5qk.fsf@dustycloud.org> <8737sh11x1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYzKK-0002rZ-Sq for help-guix@gnu.org; Thu, 25 Feb 2016 12:03:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYzKK-0007jo-3M for help-guix@gnu.org; Thu, 25 Feb 2016 12:03:44 -0500 Received: from dustycloud.org ([2600:3c02::f03c:91ff:feae:cb51]:60718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYzKJ-0007jO-Rv for help-guix@gnu.org; Thu, 25 Feb 2016 12:03:44 -0500 In-reply-to: <8737sh11x1.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org To: Alex Kost Cc: help-guix@gnu.org 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!