unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: excalamus--- via <help-guix@gnu.org>
To: Help Guix <help-guix@gnu.org>
Subject: Re: Remove build
Date: Sun, 22 Aug 2021 15:26:08 +0200 (CEST)	[thread overview]
Message-ID: <Mhi1YH2--3-2@tutanota.com> (raw)
In-Reply-To: <MhdnOkT--3-2@tutanota.com>



>
> "removing files or directories manually may break it beyond repair!"
>
> Have I borked my /gnu/store?  
>
No, the 'guix-store-item' command runs 'guix gc' under the hood, so it's safe.  Removing manually here refers to using rm.


> How can I, or could I have if it's too late, removed the build?
>
It's not too late.  There are two approaches.  The most recommended is:

1. Delete the generations of the user profiles (e.g. 'guix package --delete-generations')
2. Delete the generations of the system profiles (e.g. 'sudo guix system delete-generations')
3. Run 'guix gc'

The emacs-guix (guix.el) package has 'guix-generations' and 'guix-system-generations' which allow these to be applied to a list of profiles ('m' to mark, 'd' to delete).

Another approach is to remove the build files one-by-one with 'guix-store-item', although it's not recommended (because it's a more manual process).


      parent reply	other threads:[~2021-08-22 13:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-21 17:41 Remove build excalamus--- via
2021-08-21 21:04 ` Leo Famulari
2021-08-22 13:26 ` excalamus--- via [this message]

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=Mhi1YH2--3-2@tutanota.com \
    --to=help-guix@gnu.org \
    --cc=excalamus@tutanota.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).