help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I remove profiles?


From: mlell
Subject: Re: How do I remove profiles?
Date: Wed, 05 Feb 2020 10:05:44 +0100
User-agent: Posteo Webmail

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 via email to

[Prev in Thread] Current Thread [Next in Thread]