[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How do I remove profiles?
From: |
sirgazil |
Subject: |
Re: How do I remove profiles? |
Date: |
Wed, 05 Feb 2020 08:04:14 -0500 |
User-agent: |
Zoho Mail |
---- On Wed, 05 Feb 2020 04:05:44 -0500 <address@hidden> wrote ----
> 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.
Thank you, Moritz. I'll do that then.