Skip to content

move all unique information on garbage collection to nix-store --gc#9208

Closed
fricklerhandwerk wants to merge 8 commits into
NixOS:masterfrom
fricklerhandwerk:remove-garbage-collection-section
Closed

move all unique information on garbage collection to nix-store --gc#9208
fricklerhandwerk wants to merge 8 commits into
NixOS:masterfrom
fricklerhandwerk:remove-garbage-collection-section

Conversation

@fricklerhandwerk

Copy link
Copy Markdown
Contributor

this allows removing the otherwise redundant pages on garbage collection.

Motivation

closes #7977

Context

#7769

Priorities

Add 👍 to pull requests you find important.

it may actually mislead people about what "cleaning up your system"
could mean. removing it does not distort the original intent.
this makes it easier to see the actual locations the command inspects.

reword the note to be more on point.
this is a fixed technical term, no need to quote it as if it were
something hypothetical

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would prefer to move everything that isn't CLI here, because nix-store --gc isn't the only way to run GC.
For instance, we have also have nix store gc and the auto-gc options.

@fricklerhandwerk fricklerhandwerk Oct 24, 2023

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In that case we could move it under the new section created in #9206, as that's really about the store. Okay, I'll put it into draft until that's merged.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah exactly! Now that we have the store section we can document how GC works in general, and in fact some information that is currently on the man pages can probably move there instead.

@nixos-discourse

Copy link
Copy Markdown

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/2023-10-23-documentation-team-meeting-notes-88/34562/1

@fricklerhandwerk fricklerhandwerk marked this pull request as draft October 25, 2023 10:13
@tomberek

Copy link
Copy Markdown
Contributor

stale: re-open and re-base as needed

@tomberek tomberek closed this May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Merge Garbage Collection section into nix-store --gc

5 participants