From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: What prevents "guix package --profile" profiles from being gc'ed? Date: Thu, 25 Feb 2016 14:10:02 +0300 Message-ID: <8737sh11x1.fsf@gmail.com> References: <87si0hr5qk.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYto3-0007Z9-UY for help-guix@gnu.org; Thu, 25 Feb 2016 06:10:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYto1-0002qa-9Z for help-guix@gnu.org; Thu, 25 Feb 2016 06:10:03 -0500 Received: from mail-lb0-x22d.google.com ([2a00:1450:4010:c04::22d]:34725) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYto1-0002qV-09 for help-guix@gnu.org; Thu, 25 Feb 2016 06:10:01 -0500 Received: by mail-lb0-x22d.google.com with SMTP id of3so26775880lbc.1 for ; Thu, 25 Feb 2016 03:10:00 -0800 (PST) In-Reply-To: <87si0hr5qk.fsf@dustycloud.org> (Christopher Allan Webber's message of "Wed, 24 Feb 2016 16:30:43 -0800") 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: Christopher Allan Webber Cc: help-guix@gnu.org 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