unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Christopher Allan Webber <cwebber@dustycloud.org>
To: Alex Kost <alezost@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: What prevents "guix package --profile" profiles from being gc'ed?
Date: Thu, 25 Feb 2016 09:03:41 -0800	[thread overview]
Message-ID: <87bn74g1t0.fsf@dustycloud.org> (raw)
In-Reply-To: <8737sh11x1.fsf@gmail.com>

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!

  reply	other threads:[~2016-02-25 17:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-25  0:30 What prevents "guix package --profile" profiles from being gc'ed? Christopher Allan Webber
2016-02-25 11:10 ` Alex Kost
2016-02-25 17:03   ` Christopher Allan Webber [this message]
2016-02-26 20:32   ` Ricardo Wurmus
2016-02-27  9:57     ` Alex Kost
2016-02-27 17:39     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bn74g1t0.fsf@dustycloud.org \
    --to=cwebber@dustycloud.org \
    --cc=alezost@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).