unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: mlell@posteo.de
To: sirgazil <sirgazil@zoho.com>
Cc: Help-Guix <help-guix-bounces+mlell=posteo.de@gnu.org>,
	Guix Help <help-guix@gnu.org>
Subject: Re: How do I remove profiles?
Date: Wed, 05 Feb 2020 10:05:44 +0100	[thread overview]
Message-ID: <ff5ba373ebf4cf0a1f979c8226d094d5@posteo.de> (raw)
In-Reply-To: <17012a5be4e.c43d980a29631.6872205928038052594@zoho.com>

Hi!

guix gc is responsible for removing unneeded packages. From
https://guix.gnu.org/manual/en/html_node/Invoking-guix-gc.html:

> The garbage collector has a set of known roots: any file under 
> /gnu/store reachable from a
> root is considered live and cannot be deleted; any other file is 
> considered dead and may
> be deleted.  ... the symlinks under /var/guix/gcroots represent these 
> GC roots.

My own experience is that guix gc reports and removes dead symlinks in 
this directory. So I
guess just remove the symlinks you listed:


> $ guix package --list-profiles
> /home/sirgazil/.devenvs/my-project/my-project
> /home/sirgazil/.devenvs/project-a/project-a
> /home/sirgazil/.config/guix/current
> /home/sirgazil/.guix-profile
> 

and then call guix gc.

Cheers,
Moritz

  reply	other threads:[~2020-02-05  9:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-05  0:00 How do I remove profiles? sirgazil
2020-02-05  9:05 ` mlell [this message]
2020-02-05 13:04   ` sirgazil

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=ff5ba373ebf4cf0a1f979c8226d094d5@posteo.de \
    --to=mlell@posteo.de \
    --cc=help-guix-bounces+mlell=posteo.de@gnu.org \
    --cc=help-guix@gnu.org \
    --cc=sirgazil@zoho.com \
    /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).