unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Christopher Allan Webber <cwebber@dustycloud.org>
To: help-guix@gnu.org
Subject: What prevents "guix package --profile" profiles from being gc'ed?
Date: Wed, 24 Feb 2016 16:30:43 -0800	[thread overview]
Message-ID: <87si0hr5qk.fsf@dustycloud.org> (raw)

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/

cwebber@oolong:~$ find /var/guix/profiles/
/var/guix/profiles/
/var/guix/profiles/system-20-link
/var/guix/profiles/system-21-link
/var/guix/profiles/system-7-link
/var/guix/profiles/system-6-link
/var/guix/profiles/system-10-link
/var/guix/profiles/system-22-link
/var/guix/profiles/per-user
/var/guix/profiles/per-user/cwebber
/var/guix/profiles/per-user/cwebber/guix-profile-188-link
/var/guix/profiles/per-user/cwebber/guix-profile-187-link
/var/guix/profiles/per-user/cwebber/guix-profile-189-link
/var/guix/profiles/per-user/cwebber/guix-profile-186-link
/var/guix/profiles/per-user/cwebber/guix-profile-191-link
/var/guix/profiles/per-user/cwebber/guix-profile
/var/guix/profiles/per-user/cwebber/guix-profile-192-link
/var/guix/profiles/per-user/cwebber/guix-profile-193-link
/var/guix/profiles/per-user/cwebber/guix-profile-194-link
/var/guix/profiles/per-user/cwebber/guix-profile-185-link
/var/guix/profiles/per-user/cwebber/guix-profile-190-link
/var/guix/profiles/per-user/root
/var/guix/profiles/system-12-link
/var/guix/profiles/system-11-link
/var/guix/profiles/system-1-link
/var/guix/profiles/system-14-link
/var/guix/profiles/system-19-link
/var/guix/profiles/system-18-link
/var/guix/profiles/system-15-link
/var/guix/profiles/system-13-link
/var/guix/profiles/system-17-link
/var/guix/profiles/system
/var/guix/profiles/system-5-link
/var/guix/profiles/system-8-link
/var/guix/profiles/system-4-link
/var/guix/profiles/system-9-link
/var/guix/profiles/system-3-link
/var/guix/profiles/system-16-link
/var/guix/profiles/system-2-link

It doesn't look like it.

What's keeping that profile around?  Will it ever get gc'ed?  Is it
somehow recorded in Guix's state files?

Just curious,
 - Chris

             reply	other threads:[~2016-02-25  0:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-25  0:30 Christopher Allan Webber [this message]
2016-02-25 11:10 ` What prevents "guix package --profile" profiles from being gc'ed? Alex Kost
2016-02-25 17:03   ` Christopher Allan Webber
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=87si0hr5qk.fsf@dustycloud.org \
    --to=cwebber@dustycloud.org \
    --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).